Skip to content

Commit

Permalink
use python3 when necessary
Browse files Browse the repository at this point in the history
  • Loading branch information
jbweston committed Dec 14, 2018
1 parent c9785fb commit 1d0cdd3
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,15 @@ test package:
stage: test
script:
- pip3 install sympy==1.1.1
- python setup.py develop # build mode cache
- pip3 install -e .
- py.test -r w --cov semicon --cov-report term --flakes semicon


test package with latest scipy:
stage: test
script:
- pip3 install sympy==1.1.1 scipy==1.2.0rc2
- python setup.py develop # build mode cache
- pip3 install -e .
- py.test -r w --cov semicon --cov-report term --flakes semicon


Expand All @@ -24,13 +24,13 @@ test package with latest SymPy and Kwant stable:
script:
- pip3 install sympy
- pip3 install git+https://gitlab.kwant-project.org/kwant/kwant.git@stable
- python setup.py develop # build mode cache
- pip3 install -e .
- py.test -r w --cov semicon --cov-report term --flakes semicon

test packaging:
stage: test
script:
- pip3 install sympy==1.1.1
- python setup.py build
- cd build/lib
- python -c 'import semicon; semicon.test()'
- pip3 install .
- cd / # make sure we don't import the cloned version
- python3 -c 'import semicon; semicon.test()'

0 comments on commit 1d0cdd3

Please sign in to comment.