summaryrefslogtreecommitdiff
path: root/.travis.yml
blob: f9469c99afa98d91505e32dc5bab630b96622796 (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
57
58
59
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.6
    - os: linux
      python: 2.6
      env:
      - CDECIMAL=m3-cdecimal
    - os: linux
      python: 2.7
    - os: linux
      python: 2.7
      env:
      - CDECIMAL=m3-cdecimal
    - os: linux
      python: pypy
    - os: linux
      python: pypy3
    - os: linux
      python: 3.3
    - os: linux
      python: 3.4
    - os: linux
      python: 3.5
      env:
      - PYTHON_TEST_FLAGS=-bb
    - os: linux
      python: 3.6

install:
  - bash .ci/deps.${TRAVIS_OS_NAME}.sh
  - pip install --upgrade pip
  - pip install --upgrade pytest==2.8.5 pytest-cov==2.2.0 $CDECIMAL freezegun==0.3.9
  - 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