Klaus Demo ~jonashaag/klaus / master .travis.yml
master

Tree @master (Download .tar.gz)

.travis.yml @masterraw · history · blame

stages:
  - test
  - deploy


# For tests
os: linux
addons:
  apt:
    packages:
    - exuberant-ctags
language: python
python:
  - "2.7"
  - "3.4"
  - "3.5"
  - "3.6"
  - "3.7"
  - "3.8"
  - "nightly"
install:
  - "pip install ."
  - "pip install -r test_requirements.txt"
script:
  - git config --global user.email "you@example.com"
  - git config --global user.name "Your Name"
  - ./runtests.sh


# For deploy
services:
  - docker
jobs:
  include:
    - stage: deploy
      script: skip
      deploy:
        on:
          tags: true
        provider: script
        script: ./build-and-push-docker.sh