Permalink
Browse files

added demo tests (#15)

* added demo tests
  • Loading branch information...
babbush authored and jarrodmcc committed Oct 5, 2017
1 parent 7e696bb commit 2d87a729ab7a822e179ed7ebfb77ff8eec1d8559
Showing with 129 additions and 45 deletions.
  1. +5 −2 .travis.yml
  2. +56 −39 examples/openfermion_demo.ipynb
  3. +5 −4 requirements.txt
  4. +63 −0 src/openfermion/tests/_demo_test.py
View
@@ -36,12 +36,15 @@ before_install:
install:
- if [ "${PYTHON:0:1}" = "3" ]; then export PY=3; fi
- pip$PY install --only-binary=numpy,scipy numpy scipy
- pip$PY install --only-binary=numpy numpy
- pip$PY install --only-binary=scipy scipy
- pip$PY install --only-binary=jupyter jupyter
- pip$PY install --only-binary=matplotlib matplotlib
- pip$PY install -r requirements.txt
- pip$PY install pytest
- pip$PY install pytest-cov
- pip$PY install coveralls
# command to run tests
script: export OMP_NUM_THREADS=1 && pytest src/openfermion --cov src/openfermion
after_success:
Oops, something went wrong.

0 comments on commit 2d87a72

Please sign in to comment.