File tree Expand file tree Collapse file tree 1 file changed +19
-11
lines changed Expand file tree Collapse file tree 1 file changed +19
-11
lines changed Original file line number Diff line number Diff line change 11dist : trusty
22language : python
33python :
4- - " 2.6"
54 - " 2.7"
6- - " 3.3"
7- - " 3.4"
85 - " 3.5"
96install :
10- - pip install --only-binary=numpy,scipy numpy nose scipy pytest sklearn
11- - pip install tensorflow
12- - pip install git+https://github.com/hycis/TensorGraph.git@master
13- - pip3 install --only-binary=numpy,scipy numpy nose scipy pytest sklearn
14- - pip3 install tensorflow
15- - pip3 install git+https://github.com/hycis/TensorGraph.git@master
7+
8+ - if [[ "$TRAVIS_PYTHON_VERSION" == "2.7" ]]; then
9+ pip install --only-binary=numpy,scipy numpy nose scipy pytest sklearn
10+ pip install tensorflow
11+ pip install git+https://github.com/hycis/TensorGraph.git@master
12+ fi
13+
14+ - if [[ "$TRAVIS_PYTHON_VERSION" == "3.5" ]]; then
15+ pip3 install --only-binary=numpy,scipy numpy nose scipy pytest sklearn
16+ pip3 install tensorflow
17+ pip3 install git+https://github.com/hycis/TensorGraph.git@master
18+ fi
19+
1620script :
1721 - echo "TensorGraph Testing.."
18- - python -m pytest test
19- - python3 -m pytest test
22+ - if [[ "$TRAVIS_PYTHON_VERSION" == "2.7" ]]; then
23+ python -m pytest test
24+ fi
25+ - if [[ "$TRAVIS_PYTHON_VERSION" == "3.5" ]]; then
26+ python3 -m pytest test
27+ fi
You can’t perform that action at this time.
0 commit comments