|
1 | 1 | language: python |
2 | | - |
3 | 2 | sudo: false |
4 | | - |
5 | 3 | python: |
6 | | - - "2.7" |
7 | | - - "3.6" |
8 | | - |
| 4 | +- '2.7' |
| 5 | +- '3.6' |
9 | 6 | 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 |
14 | 10 | 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 . |
31 | 26 | script: coverage run --source nltools -m py.test |
32 | | - |
33 | 27 | 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