##// END OF EJS Templates
Use Travis to upload to Github releases...
Thomas Kluyver -
Show More
@@ -1,26 +1,44 b''
1 1 # http://travis-ci.org/#!/ipython/ipython
2 2 language: python
3 3 python:
4 4 - "nightly"
5 5 - 3.6
6 6 - 3.5
7 7 - 3.4
8 8 - 3.3
9 9 sudo: false
10 10 before_install:
11 11 - git clone --quiet --depth 1 https://github.com/minrk/travis-wheels travis-wheels
12 12 - 'if [[ $GROUP != js* ]]; then COVERAGE=""; fi'
13 13 install:
14 14 - pip install "setuptools>=18.5" pip --upgrade
15 15 - pip install -f travis-wheels/wheelhouse -e file://$PWD#egg=ipython[test] --upgrade
16 16 - pip install codecov --upgrade
17 17 script:
18 18 - cd /tmp && iptest --coverage xml && cd -
19 19 after_success:
20 20 - cp /tmp/ipy_coverage.xml ./
21 21 - cp /tmp/.coverage ./
22 22 - codecov
23 23
24 24 matrix:
25 25 allow_failures:
26 26 - python: nightly
27
28 before_deploy:
29 - rm -rf dist/
30 - python setup.py sdist
31 - python setup.py bdist_wheel
32
33 deploy:
34 provider: releases
35 api_key:
36 secure: Y/Ae9tYs5aoBU8bDjN2YrwGG6tCbezj/h3Lcmtx8HQavSbBgXnhnZVRb2snOKD7auqnqjfT/7QMm4ZyKvaOEgyggGktKqEKYHC8KOZ7yp8I5/UMDtk6j9TnXpSqqBxPiud4MDV76SfRYEQiaDoG4tGGvSfPJ9KcNjKrNvSyyxns=
37 file: dist/*
38 file_glob: true
39 skip_cleanup: true
40 on:
41 repo: ipython/ipython
42 all_branches: true # Backports are released from e.g. 5.x branch
43 tags: true
44 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