##// END OF EJS Templates
Dropping Python 3.3 due to Travis issues + adding 'group' back
Olesya Baranova -
Show More
@@ -1,54 +1,53 b''
1 # http://travis-ci.org/#!/ipython/ipython
1 # http://travis-ci.org/#!/ipython/ipython
2 language: python
2 language: python
3 python:
3 python:
4 - "nightly"
4 - "nightly"
5 - 3.6
5 - 3.6
6 - 3.5
6 - 3.5
7 - 3.4
7 - 3.4
8 - 3.3
9 sudo: false
8 sudo: false
10 env:
9 env:
11 global:
10 global:
12 - PATH=$TRAVIS_BUILD_DIR/pandoc:$PATH
11 - PATH=$TRAVIS_BUILD_DIR/pandoc:$PATH
13 matrix:
12 matrix:
14 - GROUP=docs
13 - GROUP=docs
15 #group: edge
14 group: edge
16 before_install:
15 before_install:
17 - 'if [[ $GROUP != js* ]]; then COVERAGE=""; fi'
16 - 'if [[ $GROUP != js* ]]; then COVERAGE=""; fi'
18 - 'if [[ $GROUP == docs ]]; then pip install -r docs/requirements.txt; fi'
17 - 'if [[ $GROUP == docs ]]; then pip install -r docs/requirements.txt; fi'
19 install:
18 install:
20 - pip install setuptools pip --upgrade
19 - pip install setuptools pip --upgrade
21 - pip install -e file://$PWD#egg=ipython[test] --upgrade
20 - pip install -e file://$PWD#egg=ipython[test] --upgrade
22 - pip install codecov --upgrade
21 - pip install codecov --upgrade
23 script:
22 script:
24 - cd /tmp && iptest --coverage xml && cd -
23 - cd /tmp && iptest --coverage xml && cd -
25 - 'if [[ $GROUP == docs ]]; then make -C docs/ html; fi'
24 - 'if [[ $GROUP == docs ]]; then make -C docs/ html; fi'
26 after_success:
25 after_success:
27 - cp /tmp/ipy_coverage.xml ./
26 - cp /tmp/ipy_coverage.xml ./
28 - cp /tmp/.coverage ./
27 - cp /tmp/.coverage ./
29 - codecov
28 - codecov
30
29
31 matrix:
30 matrix:
32 allow_failures:
31 allow_failures:
33 - python: nightly
32 - python: nightly
34 exclude:
33 exclude:
35 - python: 2.7
34 - python: 2.7
36 env: GROUP=docs
35 env: GROUP=docs
37
36
38 before_deploy:
37 before_deploy:
39 - rm -rf dist/
38 - rm -rf dist/
40 - python setup.py sdist
39 - python setup.py sdist
41 - python setup.py bdist_wheel
40 - python setup.py bdist_wheel
42
41
43 deploy:
42 deploy:
44 provider: releases
43 provider: releases
45 api_key:
44 api_key:
46 secure: Y/Ae9tYs5aoBU8bDjN2YrwGG6tCbezj/h3Lcmtx8HQavSbBgXnhnZVRb2snOKD7auqnqjfT/7QMm4ZyKvaOEgyggGktKqEKYHC8KOZ7yp8I5/UMDtk6j9TnXpSqqBxPiud4MDV76SfRYEQiaDoG4tGGvSfPJ9KcNjKrNvSyyxns=
45 secure: Y/Ae9tYs5aoBU8bDjN2YrwGG6tCbezj/h3Lcmtx8HQavSbBgXnhnZVRb2snOKD7auqnqjfT/7QMm4ZyKvaOEgyggGktKqEKYHC8KOZ7yp8I5/UMDtk6j9TnXpSqqBxPiud4MDV76SfRYEQiaDoG4tGGvSfPJ9KcNjKrNvSyyxns=
47 file: dist/*
46 file: dist/*
48 file_glob: true
47 file_glob: true
49 skip_cleanup: true
48 skip_cleanup: true
50 on:
49 on:
51 repo: ipython/ipython
50 repo: ipython/ipython
52 all_branches: true # Backports are released from e.g. 5.x branch
51 all_branches: true # Backports are released from e.g. 5.x branch
53 tags: true
52 tags: true
54 python: 3.6 # Any version should work, but we only need one
53 python: 3.6 # Any version should work, but we only need one
General Comments 0
You need to be logged in to leave comments. Login now