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

Improve Travis build time #423

Merged
merged 2 commits into from
Jul 13, 2017
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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