summaryrefslogtreecommitdiff
path: root/.travis.yml
blob: c9c0a9b7bb4430e7138610cccc0661645b38bb52 (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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
dist: xenial
language: python

# Use travis docker infrastructure for greater speed
sudo: false

cache:
  directories:
  - cldr
  - "$HOME/.cache/pip"
  - "$HOME/.pyenv"

matrix:
  include:
    - os: linux
      python: 2.7
    - os: linux
      python: 2.7
      env:
      - CDECIMAL=m3-cdecimal
    - os: linux
      dist: trusty
      python: pypy
    - os: linux
      dist: trusty
      python: pypy3
    - os: linux
      python: 3.4
    - os: linux
      python: 3.5
      env:
      - PYTHON_TEST_FLAGS=-bb
    - os: linux
      python: 3.6
    - os: linux
      python: 3.7

install:
  - bash .ci/deps.${TRAVIS_OS_NAME}.sh
  - pip install --upgrade pip
  - pip install --upgrade $CDECIMAL pytest==3.3.2 pytest-cov==2.5.1 freezegun==0.3.11
  - pip install --editable .

script:
  - make test-cov
  - bash .ci/deploy.${TRAVIS_OS_NAME}.sh

notifications:
  email: false
  irc:
    channels:
      - "chat.freenode.net#pocoo"
    on_success: change
    on_failure: always
    use_notice: true
    skip_join: true