Skip to content

Commit 2977db7

Browse files
chore(dotfiles): bootstrap setup stuff πŸš€
0 parents  commit 2977db7

File tree

6 files changed

+81
-0
lines changed

6 files changed

+81
-0
lines changed

β€Ž.codecov.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
coverage:
2+
range: "0...100"
3+
ignore:
4+
- "Tests"

β€Ž.editorconfig

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
root = true
2+
3+
[*.swift]
4+
indent_size = 4
5+
indent_style = space
6+
charset = utf-8
7+
trim_trailing_whitespace = false

β€Ž.gitignore

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
## IDEs/Editors
2+
3+
*.xcodeproj
4+
*.xcworkspace
5+
.vscode
6+
7+
## Various settings
8+
9+
*.pbxuser
10+
!default.pbxuser
11+
*.mode1v3
12+
!default.mode1v3
13+
*.mode2v3
14+
!default.mode2v3
15+
*.perspectivev3
16+
!default.perspectivev3
17+
xcuserdata
18+
19+
## Other
20+
21+
*.xccheckout
22+
*.moved-aside
23+
*.xcuserstate
24+
*.xcscmblueprint
25+
26+
## Obj-C/Swift specific
27+
28+
*.hmap
29+
30+
# Swift Package Manager
31+
32+
.build/
33+
Package.pins
34+
Package.resolved
35+
36+
# Mac OS X
37+
38+
.DS_Store

β€Ž.swift-version

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
3.1

β€Ž.swiftlint.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
included:
2+
- Sources
3+
- Tests
4+
5+
line_length: 200

β€Ž.travis.yml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
os:
2+
- linux
3+
- osx
4+
language: generic
5+
sudo: required
6+
dist: trusty
7+
8+
osx_image: xcode8.3
9+
before_install:
10+
- if [ $TRAVIS_OS_NAME == "osx" ]; then
11+
brew tap vapor/tap;
12+
brew update;
13+
brew install vapor;
14+
else
15+
eval "$(curl -sL https://apt.vapor.sh)";
16+
sudo apt-get install vapor;
17+
sudo chmod -R a+rx /usr/;
18+
fi
19+
20+
script:
21+
- swift build
22+
- swift build -c release
23+
- SPM_ENV=test swift test
24+
25+
after_success:
26+
- eval "$(curl -sL https://swift.vapor.sh/codecov)"

0 commit comments

Comments
Β (0)