Skip to content

Commit

Permalink
Update .travis.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
gpkc authored Jul 21, 2017
1 parent 45928ed commit 0456a6b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,16 +17,16 @@ install:
- pip install python-coveralls colorlog

script:
- docker run elliptic /bin/bash -c "python setup.py test"
- docker run elliptic /bin/bash -c "cd ELLIPTIc; python setup.py test"

after_success:
# Fixing coverage paths:
# https://github.com/pytest-dev/pytest-cov/issues/146
- docker cp `docker ps -l -q`:/home/scientific/ELLIPTIc/.coverage .coverage.docker
- coverage combine
- coveralls
- docker tag elliptic gpkc/elliptic
- docker tag elliptic padmec/elliptic:1.0
- if [ "$TRAVIS_BRANCH" == "master" ]; then
docker login -u="$DOCKER_USERNAME" -p="$DOCKER_PASSWORD";
docker push gpkc/elliptic;
docker push padmec/elliptic:1.0;
fi

0 comments on commit 0456a6b

Please sign in to comment.