Skip to content

Commit

Permalink
build docker image first
Browse files Browse the repository at this point in the history
  • Loading branch information
Scisco committed Oct 29, 2015
1 parent fad40e2 commit f4fa584
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@ sudo: required
services:
- docker

before_script:
- docker build -t 'developmentseed/landsat-util:travis' .

script:
- docker run --rm -it -v "$(pwd)":/test developmentseed/landsat-util:travis nosetests

Expand Down
2 changes: 1 addition & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ To run the documentation locally::
Travis Tests
++++++++++++

To speed up testing on travis, we use a docker image. If you add new packages, to ensure that tests will pass on Travis, make sure to rebuild the docker image and push it to DockerHub with `travis` tag.
To speed up testing on travis, we use a docker image.

To test with docker image locally run:

Expand Down

0 comments on commit f4fa584

Please sign in to comment.