Skip to content

Commit

Permalink
Added Travis CI
Browse files Browse the repository at this point in the history
  • Loading branch information
adamisntdead committed Apr 12, 2018
1 parent b5793e9 commit c2a16c8
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 1 deletion.
12 changes: 12 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
language: python
python:
- "2.7"
- "3.3"
- "3.5"
- "3.7-dev" # 3.7 development branch
# command to install dependencies
install:
- pip install -r requirements.txt
# command to run tests
script:
- python test.py
1 change: 0 additions & 1 deletion QuSim.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
from functools import reduce
import numpy as np


class gates:
# Store complex number i here for easy access
i = np.complex(0, 1)
Expand Down
3 changes: 3 additions & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# Library dependencies for the python code. You need to install these with
# `pip install -r requirements.txt` before you can run this.
numpy

0 comments on commit c2a16c8

Please sign in to comment.