Skip to content

Commit

Permalink
Fix failing travis builds for tests and docs
Browse files Browse the repository at this point in the history
* Upgrade/install setuptools as installing charm would complain about
missing setuptools
* Use Python 3.7
  • Loading branch information
sbellem committed Feb 22, 2019
1 parent 6593421 commit e8bcbc0
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 6 deletions.
10 changes: 6 additions & 4 deletions .ci/travis-install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,12 @@ set -e -x

pip install --upgrade pip

# will not be needed for flake8
git clone https://github.com/JHUISI/charm.git
cd charm && ./configure.sh && make install
cd ..
if [ "${BUILD}" != "flake8" ]; then
pip install --upgrade setuptools
git clone https://github.com/JHUISI/charm.git
cd charm && ./configure.sh && make install
cd ..
fi

if [ "${BUILD}" == "tests" ]; then
pip install -e .[test]
Expand Down
4 changes: 3 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
language: python
python: 3.6
sudo: required
dist: xenial
python: 3.7

env:
global:
Expand Down
1 change: 0 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@
'ecdsa',
'zfec>=1.5.0',
'gipc',
'charm-crypto @ https://github.com/JHUISI/charm.git@dev',
'coincurve',
]

Expand Down

0 comments on commit e8bcbc0

Please sign in to comment.