summaryrefslogtreecommitdiffstats
path: root/.travis.yml
blob: 41d3b3ac0374038da17376793fba66cbade72a11 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
sudo: false
language: python
cache: pip
install: ./.travis/install.sh
script:
  - source ~/.venv/bin/activate
  - tox
  - if [[ "$TOXENV" == "py37" ]]; then black --check cli_helpers tests ; else echo "Skipping black for $TOXENV"; fi
matrix:
  include:
    - os: linux
      python: 3.6
      env: TOXENV=py36
    - os: linux
      python: 3.6
      env: TOXENV=noextras
    - os: linux
      python: 3.6
      env: TOXENV=docs
    - os: linux
      python: 3.6
      env: TOXENV=packaging
    - os: osx
      language: generic
      env: TOXENV=py36
    - os: linux
      python: 3.7
      env: TOXENV=py37
      dist: xenial
      sudo: true