diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index f51b249f97a9..000000000000 --- a/.travis.yml +++ /dev/null @@ -1,67 +0,0 @@ -# This code is part of Qiskit. -# -# (C) Copyright IBM 2017. -# -# This code is licensed under the Apache License, Version 2.0. You may -# obtain a copy of this license in the LICENSE.txt file in the root directory -# of this source tree or at http://www.apache.org/licenses/LICENSE-2.0. -# -# Any modifications or derivative works of this code must retain this -# copyright notice, and modified files need to carry a notice indicating -# that they have been altered from the originals. - -notifications: - email: false - -cache: - pip: true - directories: - - .stestr - -os: linux -dist: bionic -language: python -python: 3.7 -install: - # Install step for jobs that require compilation and qa. - - pip install -U -r requirements.txt -c constraints.txt - - pip install -U -r requirements-dev.txt coveralls -c constraints.txt - - pip install -c constraints.txt -e . - - pip install "qiskit-ibmq-provider" -c constraints.txt - - pip install "qiskit-aer" -script: - # Compile the executables and run the tests. - - python setup.py build_ext --inplace - - export PYTHONHASHSEED=$(python -S -c "import random; print(random. randint(1, 4294967295))") - - echo "PYTHONHASHSEED=$PYTHONHASHSEED" - - stestr run -after_failure: - - python tools/report_ci_failure.py - -jobs: - fast_finish: true - allow_failures: - - name: Randomized tests - include: - - name: Python 3.6 Tests and Coverage Linux - python: 3.6 - env: - - PYTHON="coverage run --source qiskit --parallel-mode" - - QISKIT_TEST_CAPTURE_STREAMS=1 - after_success: - - coverage combine || true - - coveralls || true - - coverage xml || true - - pip install diff-cover || true - - diff-cover --compare-branch main coverage.xml || true - - # Randomized testing - - name: Randomized tests - cache: - pip: true - directories: - - .hypothesis - script: - - pip install -U pip - - python setup.py build_ext --inplace - - make test_randomized