Skip to content

Commit c2a16c8

Browse files
committed
Added Travis CI
1 parent b5793e9 commit c2a16c8

File tree

3 files changed

+15
-1
lines changed

3 files changed

+15
-1
lines changed

.travis.yml

+12
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
language: python
2+
python:
3+
- "2.7"
4+
- "3.3"
5+
- "3.5"
6+
- "3.7-dev" # 3.7 development branch
7+
# command to install dependencies
8+
install:
9+
- pip install -r requirements.txt
10+
# command to run tests
11+
script:
12+
- python test.py

QuSim.py

-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
from functools import reduce
22
import numpy as np
33

4-
54
class gates:
65
# Store complex number i here for easy access
76
i = np.complex(0, 1)

requirements.txt

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# Library dependencies for the python code. You need to install these with
2+
# `pip install -r requirements.txt` before you can run this.
3+
numpy

0 commit comments

Comments
 (0)