Changed travis to run 2 jobs
@@ -15,6 +15,7 @@ language: python
python:
- "3.6"
+stage_dependencies: &stage_dependencies
# Install Dependencies
# The env. variable MASTER_BRANCH_DEPENDENCIES forces dependencies used from master
env:
@@ -44,11 +45,24 @@ before_install:
# Install local Qiskit Ignis
pip install -e /tmp/qiskit-ignis-master
fi
-
-# Test
install:
# install Aqua and dev requirements
- pip install -e $TRAVIS_BUILD_DIR
- pip install -U -r requirements-dev.txt
+
+# Define the order of the stages.
+stages:
+ - test first half
+ - test second half
+
+jobs:
+ include:
+ - stage: test first half
+ <<: *stage_dependencies
+ script:
+ - python test/customtests.py 0 -end 34
+
+ - stage: test second half
+ <<: *stage_dependencies
script:
- - python -m unittest discover -v test
\ No newline at end of file
+ - python test/customtests.py 34
