Skip to content

Commit e0026f4

Browse files
committed
Try making Travis cache the SwiftPM dependencies, for faster CI builds.
(Also separate the dependency resolution and main build steps into separate steps, so we can time each one individually.)
1 parent 7935aeb commit e0026f4

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

.travis.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,11 @@ os:
1919
- linux
2020
- osx
2121

22+
cache:
23+
directories:
24+
- .build/checkouts
25+
- .build/repositories
26+
2227
# Use Ubuntu 14.04
2328
dist: trusty
2429

@@ -46,6 +51,8 @@ install: ./.travis-install.sh
4651
script:
4752
- export PATH=$HOME/local/bin:$PATH
4853
- export LD_LIBRARY_PATH=$HOME/local/lib
54+
- swift package -v resolve
55+
- make all
4956
- make test
5057
- make test-plugin
5158
- make test-echo

0 commit comments

Comments
 (0)