.travis.yml 345 B

123456789101112131415161718192021
  1. sudo: required
  2. services:
  3. - docker
  4. env:
  5. - DOCKER_TAG=$TRAVIS_TAG
  6. language: python
  7. python:
  8. - "2.7"
  9. - "3.5"
  10. install:
  11. - pip install -r requirements.txt
  12. - pip install pep8
  13. script:
  14. - ./scripts/cibuild.sh
  15. after_success:
  16. - if [ ! -z "$TRAVIS_TAG" ] && [ "$TRAVIS_PULL_REQUEST" == "false" ]; then
  17. ./scripts/docker-build.sh;
  18. fi