Skip to content

Commit

Permalink
reorganized travis script
Browse files Browse the repository at this point in the history
  • Loading branch information
lejafar committed Aug 12, 2018
1 parent 2e4a0b9 commit 38e8652
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,17 +20,19 @@ env:
global:
- TWINE_USERNAME=lejafar

before_script:
- python3 -m unittest discover -s tests/ -vvv

script:
install:
- |
if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then
bash travis/build-openctm.sh $MAKEFILE $LIB_NAME
$PIP install pyOpenSSL ndg-httpsclient pyasn1
else
docker run -v $PWD/openctm:/openctm -v $PWD/travis:/travis quay.io/pypa/manylinux1_x86_64 bash /travis/build-openctm.sh $MAKEFILE $LIB_NAME
fi
after_install:
- python3 -m unittest discover -s tests/ -vvv

script:
- $PIP install cibuildwheel==0.9.4
- touch stub.cc
- cibuildwheel --output-dir wheelhouse
Expand Down

0 comments on commit 38e8652

Please sign in to comment.