Skip to content

Commit

Permalink
travis: attempt to fix automatic deployment to PyPI for tagged version
Browse files Browse the repository at this point in the history
Signed-off-by: Graeme Watt <graeme.watt@durham.ac.uk>
  • Loading branch information
GraemeWatt committed Jul 20, 2018
1 parent 48587f2 commit d53e795
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,12 @@ install:
script:
- export CURRENT_PATH=`pwd`
- docker run -v $CURRENT_PATH:$CURRENT_PATH hepdata/hepdata-converter /bin/bash -c "cd $CURRENT_PATH && coverage run -m unittest discover hepdata_converter/testsuite 'test_*'"
- docker run -v $CURRENT_PATH:$CURRENT_PATH hepdata/hepdata-converter /bin/bash -c "cd $CURRENT_PATH && python setup.py install && hepdata-converter -v"
- docker run -v $CURRENT_PATH:$CURRENT_PATH hepdata/hepdata-converter /bin/bash -c "cd $CURRENT_PATH && python setup.py install sdist && hepdata-converter -v"
after_success:
- coveralls

deploy:
skip_cleanup: true
provider: pypi
user: hepdata
password:
Expand Down

0 comments on commit d53e795

Please sign in to comment.