Skip to content
Snippets Groups Projects
.travis.yml 882 B
language: python
python:
 - "3.5"
 - "3.6"
 - "3.7"
 - "3.8"
 - "nightly"
jobs:
  include:
    - stage: test
      python: "3.5"
      env:
        - DEBUG=1
      script:
        - cd example
        - python setup.py test
    - stage: test
      python: "3.6"
      env:
       - DEBUG=1
      script:
        - cd example
        - python setup.py test
    - stage: test
      python: "3.7"
      env:
       - DEBUG=1
      script:
        - cd example
        - python setup.py test
    - stage: test
      python: "3.8"
      env:
       - DEBUG=1
      script:
        - cd example
        - python setup.py test
    - stage: test
      python: "nightly"
      env:
       - DEBUG=1
      script:
        - cd example
        - python setup.py test
cache: pip
install:
 - pip install -r requirements.txt
 - python setup.py install
after_success:
  - cd ..
  - bash build.sh