Skip to content
This repository was archived by the owner on Oct 14, 2020. It is now read-only.

Commit

Permalink
Improve Travis build time (#423)
Browse files Browse the repository at this point in the history
* Improve Travis build time
* Remove Docker upgrade
Travis upgraded Docker to 17.03.1 which supports `--cache-from`.
  • Loading branch information
kazk authored and jhoffner committed Jul 13, 2017
1 parent 829ff96 commit dda7d7b
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,4 +39,9 @@ env:

script:
- eslint '**/*.js'
- make $TEST_IMG
- cp docker/${TEST_IMG}.docker ./Dockerfile
- if docker pull codewars/${TEST_IMG}-runner; then
docker build --cache-from codewars/${TEST_IMG}-runner -t codewars/${TEST_IMG}-runner .;
else
docker build -t codewars/${TEST_IMG}-runner .;
fi

0 comments on commit dda7d7b

Please sign in to comment.