This repository was archived by the owner on Aug 18, 2018. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 29
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Creating develop branch * Removes authors until all have confirmed they want to be listed. * Adds back authors to README.rst. * Adds .travis.yml to configure travis ci. * Adds openfermion to requirements.txt * Modifies openfermion version to correct format. * Uses explicit prerelease version for openfermion * Tries exact match for pre-release version. * Adds travis and coveral badges. * Adds missing packages to setup.py * Adds pypi badge. * Adds a missing comma. * Up version number in prep for new pypi. * Disables broken tests. * Fixes typo in excluded tests.
- Loading branch information
Showing
5 changed files
with
63 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
sudo: false | ||
language: python | ||
matrix: | ||
include: | ||
- os: linux | ||
python: "2.7" | ||
addons: | ||
apt: | ||
sources: ['ubuntu-toolchain-r-test'] | ||
packages: ['gcc-4.9', 'g++-4.9'] | ||
env: CC=gcc-4.9 CXX=g++-4.9 PYTHON=2.7 | ||
- os: linux | ||
python: "3.4" | ||
addons: | ||
apt: | ||
sources: ['ubuntu-toolchain-r-test'] | ||
packages: ['gcc-4.9', 'g++-4.9'] | ||
env: CC=gcc-4.9 CXX=g++-4.9 PYTHON=3.4 | ||
- os: linux | ||
python: "3.5" | ||
addons: | ||
apt: | ||
sources: ['ubuntu-toolchain-r-test'] | ||
packages: ['gcc-4.9', 'g++-4.9'] | ||
env: CC=gcc-4.9 CXX=g++-4.9 PYTHON=3.5 | ||
- os: linux | ||
python: "3.6" | ||
addons: | ||
apt: | ||
sources: ['ubuntu-toolchain-r-test'] | ||
packages: ['gcc-4.9', 'g++-4.9'] | ||
env: CC=gcc-4.9 CXX=g++-4.9 PYTHON=3.6 | ||
|
||
before_install: | ||
- pip$PY install --upgrade pip setuptools wheel | ||
|
||
install: | ||
- if [ "${PYTHON:0:1}" = "3" ]; then export PY=3; fi | ||
- pip$PY install --only-binary=numpy,scipy numpy scipy | ||
- pip$PY install pybind11 | ||
- pip$PY install -r requirements.txt | ||
- pip$PY install pytest-cov | ||
- pip$PY install coveralls | ||
|
||
# command to run tests | ||
script: export OMP_NUM_THREADS=1 && pytest openfermionprojectq --cov openfermionprojectq -k "not ffft_test and not low_depth_trotter_simulation_test" | ||
|
||
after_success: | ||
- coveralls |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,6 @@ | ||
scipy>=0.18.0 | ||
numpy>=1.11.0 | ||
openfermion==0.1a0 | ||
projectq>=0.3.1 | ||
pytest>=3.0 | ||
future |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters