Skip to content

Commit 171bc7d

Browse files
committed
Added autodeploy on tags to travis yaml.
Former-commit-id: 70d8418
1 parent 424ba9a commit 171bc7d

File tree

1 file changed

+28
-27
lines changed

1 file changed

+28
-27
lines changed

.travis.yml

Lines changed: 28 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -1,34 +1,35 @@
11
language: python
2-
32
sudo: false
4-
53
python:
6-
- "2.7"
7-
- "3.6"
8-
4+
- '2.7'
5+
- '3.6'
96
before_script:
10-
- "export DISPLAY=:99.0"
11-
- "sh -e /etc/init.d/xvfb start"
12-
- sleep 3
13-
7+
- export DISPLAY=:99.0
8+
- sh -e /etc/init.d/xvfb start
9+
- sleep 3
1410
install:
15-
- wget http://repo.continuum.io/miniconda/Miniconda-latest-Linux-x86_64.sh -O miniconda.sh
16-
- bash miniconda.sh -b -p $HOME/miniconda
17-
- export PATH="$HOME/miniconda/bin:$PATH"
18-
- hash -r
19-
- conda config --set always_yes yes --set changeps1 no
20-
- conda update -q conda
21-
- conda info -a
22-
- conda create -q -n testenv python=$TRAVIS_PYTHON_VERSION pip pytest numpy pandas scipy matplotlib scikit-learn
23-
- source activate testenv
24-
- pip install python-coveralls
25-
- pip install -r requirements.txt
26-
- pip install -r optional-dependencies.txt
27-
- python setup.py install
28-
- cp nltools/tests/matplotlibrc .
29-
30-
11+
- wget http://repo.continuum.io/miniconda/Miniconda-latest-Linux-x86_64.sh -O miniconda.sh
12+
- bash miniconda.sh -b -p $HOME/miniconda
13+
- export PATH="$HOME/miniconda/bin:$PATH"
14+
- hash -r
15+
- conda config --set always_yes yes --set changeps1 no
16+
- conda update -q conda
17+
- conda info -a
18+
- conda create -q -n testenv python=$TRAVIS_PYTHON_VERSION pip pytest numpy pandas
19+
scipy matplotlib scikit-learn
20+
- source activate testenv
21+
- pip install python-coveralls
22+
- pip install -r requirements.txt
23+
- pip install -r optional-dependencies.txt
24+
- python setup.py install
25+
- cp nltools/tests/matplotlibrc .
3126
script: coverage run --source nltools -m py.test
32-
3327
after_success:
34-
- coveralls
28+
- coveralls
29+
deploy:
30+
provider: pypi
31+
user: ejolly
32+
password:
33+
secure: U2mSyTWMn9cU2p0UyZMovLKWmGzm/MafykzmHvQwrvUIdzAbOpFXWo/wgNYeisCCYm9yHWvlwVoTLufsCyCk0d1oLYnL3FTY2oXlPe4N8OzqlVw/aiXCZ/eaizb1aVHbDUUrEYdOON8Nvh/n9TSHvLLV2owTtrAIo8XkyJMFzaPNFJSIUt0mAPmnDelqnlYNqM92dhhc430J7/4rCPXe5WZm2THq4qF5OYn81TreZFSBnBTKjkWLKsuEnMuzEBA3RZKxzxmZki4dbjPmsg5c6CHJcWh2+8SAqecLxSo/LBv1OmAp3JWOHV4qMhR43Gj2hnmk7gAlNl9rJgM1c4IFAnWmsPzI9bKwoj264S22ruBvFHoOktYs7CREuOx62xCnnIO7UYfIYEMzNe1yP1IMJko/Iz80u5CB0LH6bZK+vIYVcR2XmrhACfQgHvBi7ASFgCkUnTaRJLixYWoN4qZvJozPQseZ/Rq2/EW/1+qq/eWHmVuWfiKiWEYb+Z1/RVaA6oS8o6eIZ30y/DVG0mDButDCfz0c9ZCeT1rFDy0ae0lNwosLqN+0rXm+2rJIWCrzCqRnzvI7tKEjHzUKwvDa5CR1coNZBC3zqfiIuzzN95vhQSuexCLpquz9gLmM3hkaf4kSOuCKBGTSoWajoSTlORP+RlmgUFl/tQQGVAVu6lU=
34+
on:
35+
tags: true

0 commit comments

Comments
 (0)