Skip to content
This repository was archived by the owner on Jan 9, 2023. It is now read-only.

Commit 354bc15

Browse files
committed
Update travis config and automatically deploy releases to pypi
1 parent 5a20a52 commit 354bc15

File tree

1 file changed

+26
-26
lines changed

1 file changed

+26
-26
lines changed

.travis.yml

Lines changed: 26 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -1,36 +1,27 @@
1-
#sudo: false
2-
# travis-ci.org build & test configuration
31
language: python
42

53
matrix:
6-
include:
7-
- python: 2.7
8-
env: PYTHON=2.7 ROOT=5.34.32
9-
- python: 2.7
10-
env: PYTHON=2.7 ROOT=6.04
11-
- python: 3.4
12-
env: PYTHON=3.4 ROOT=5.34.32
13-
- python: 3.4
14-
env: PYTHON=3.4 ROOT=6.04
15-
- python: 3.5
16-
env: PYTHON=3.4 ROOT=5.34.32
17-
- python: 3.5
18-
env: PYTHON=3.4 ROOT=6.04
19-
- python: 3.6
20-
env: PYTHON=3.4 ROOT=5.34.32
21-
- python: 3.6
22-
env: PYTHON=3.4 ROOT=6.04
23-
#install: source ci/install.sh
24-
install:
25-
- if [ "${TRAVIS_OS_NAME}" == "osx" ]; then curl --silent http://repo.continuum.io/miniconda/Miniconda-latest-MacOSX-x86_64.sh -o miniconda.sh; fi
26-
- if [ "${TRAVIS_OS_NAME}" == "linux" ]; then wget -nv http://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh -O miniconda.sh; fi
4+
include:
5+
- python: 2.7
6+
env: PYTHON=2.7 ROOT=5.34.32
7+
- python: 2.7
8+
env: PYTHON=2.7 ROOT=6.04
9+
- python: 3.4
10+
env: PYTHON=3.4 ROOT=5.34.32
11+
- python: 3.4
12+
env: PYTHON=3.4 ROOT=6.04
2713

14+
install:
15+
- if [ "${TRAVIS_OS_NAME}" == "osx" ]; then curl --silent http://repo.continuum.io/miniconda/Miniconda-latest-MacOSX-x86_64.sh
16+
-o miniconda.sh; fi
17+
- if [ "${TRAVIS_OS_NAME}" == "linux" ]; then wget -nv http://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh
18+
-O miniconda.sh; fi
2819
- bash miniconda.sh -b -p $HOME/miniconda
2920
- export PATH="$HOME/miniconda/bin:$PATH"
3021
- hash -r
3122
- conda config --set always_yes yes --set changeps1 no
3223
- conda update -q conda
33-
- conda info -a # Useful for debugging any issues with conda
24+
- conda info -a
3425
- conda config --add channels http://conda.anaconda.org/NLeSC
3526
- conda config --set show_channel_urls yes
3627
- conda create -q -n testenv python=${PYTHON} root=${ROOT} rootpy pandas nose
@@ -41,7 +32,16 @@ install:
4132
script: nosetests --with-coverage --cover-package=root_pandas
4233

4334
after_success:
44-
- time coveralls
35+
- time coveralls
4536

4637
notifications:
47-
email: false
38+
email: false
39+
40+
deploy:
41+
provider: pypi
42+
user: chrisburr
43+
password:
44+
secure: MyD2Q4zASzpXWaOBnbkGGm7luYB2SrrBVdX4faN0JmSmDcssn/exu2XDAIwhbZhg3uZC4bq7mBUpPiw/3Mx1f5kFgWlnjpnSRDaGhGLLc6rBp9Kqt6IOWcQ64yQ+S6LIuJ+tjbTMJAlNZgy3HDEwBWXKBvectWKJPZdVCenfMPA=
45+
on:
46+
tags: true
47+
branch: master

0 commit comments

Comments
 (0)