Skip to content

Commit

Permalink
fix master
Browse files Browse the repository at this point in the history
  • Loading branch information
Kuree committed Nov 18, 2019
1 parent 2ca57c8 commit 2b36a7e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
5 changes: 4 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,12 @@ install:
- docker pull keyiz/garnet-flow
- docker run -d -it --name gemstone keyiz/garnet-flow bash
- docker cp ../gemstone gemstone:/
- docker exec -i gemstone bash -c "cd /gemstone && pip install -e ."
# use pycoreir hack
- docker exec -i gemstone bash -c "pip uninstall -y coreir"
- docker exec -i gemstone bash -c "pip install pycoreir"
- docker exec -i gemstone bash -c "pip install pytest python-coveralls"
- docker exec -i gemstone bash -c "pip install pytest-cov pytest-codestyle"
- docker exec -i gemstone bash -c "cd /gemstone && pip install -e ."

script:
- docker exec -i gemstone bash -c "/gemstone/.travis/run.sh"
Expand Down
4 changes: 1 addition & 3 deletions .travis/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,4 @@ export PYTEST_ADDOPTS="--color=yes"

cd /gemstone/

pytest --codestyle gemstone \
--cov gemstone \
-v --cov-report term-missing tests
pytest --cov gemstone -v tests

0 comments on commit 2b36a7e

Please sign in to comment.