Skip to content

Commit

Permalink
Actualizo travis para release en pypi
Browse files Browse the repository at this point in the history
  • Loading branch information
meliascosta committed Jun 26, 2017
1 parent 530258f commit da59384
Show file tree
Hide file tree
Showing 3 changed files with 37 additions and 49 deletions.
1 change: 0 additions & 1 deletion .coverage

This file was deleted.

82 changes: 36 additions & 46 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,62 +1,52 @@
# Config file for automatic testing at travis-ci.org
# This file was autogenerated and will overwrite each time you run travis_pypi_setup.py

deploy:
provider: pypi
distributions: sdist bdist_wheel
user: Add topics
password:
secure: PLEASE_REPLACE_ME
on:
tags: true
repo: datosgobar/detector-aedes

sudo: false
cache: apt
addons:
apt:
packages:
- libatlas-dev
- libatlas-base-dev
- liblapack-dev
- gfortran
after_success:
- travis-sphinx deploy
- coveralls
cache: apt
deploy:
true:
repo: datosgobar/detector-aedes
tags: true
distributions: sdist bdist_wheel
password:
secure: S+6AZpGiy0dmNjFXbB8KzwnJ0ZwIXy/Ur+aJIlUTn7RJymHKhiqaveToCMQ6n/ERLMjHFGXxe+559vyfW0QdTZkBZ+zW0DMbxEXeTBHle/Ho2IX88RGUfodkjH492pXXtVPoIJ8qzZShlOZmkFFqehSxI9kH15YOVPsuePb98e6o0v3JFVgH9QKJgZDI+Qvkj5d2GX9AqXQBasL8Nv0OV/ch/08fb81AK/wGMKDk7yAYuwwr6Y2balUCtVLemK5lnTf9u+I6eEjZ8olbcBMcfS9nA43DzFUTBGsEepriL5ceoXTdAM9v+fPAC34lthMPptWH5CSPOMuXpw5gyZamS4qAcL0uBo2HimaUfs6Uoj3Y/+V7pwhLU/FgcZcfIBZ3X2y+zJcIFiJuSt//JHyaN41LaVYEcFNtpa3aslEqWptSr1T5mJcjNiZQmbm1x3pkqSWmNiiOeE0E3t6R1vwDSgBu/eTJWVXVsa7vxtVrbZGHyA5WWIIaM7KJMAHB3rL3p72rhLdpaJ/sr/N4xFC45o0dYE56hxfoKKMS4mCbfBt3sjfY6t8CJd1LXukYidZO3pNmoqGjj+I6jhffAHMPL40wIbtinPfOLHzPWgjlGTfuH3ZPUJ/tfy9jHpeVWuJtwRq13eZBPmwDJ5Tflz4ayNdZdaz6g29l8L272T5HRAQ=
provider: pypi
user: Add topics
install:
- if [[ "$TRAVIS_PYTHON_VERSION" == "2.7" ]]; then
wget https://repo.continuum.io/miniconda/Miniconda2-latest-Linux-x86_64.sh -O miniconda.sh;
else
wget https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh -O miniconda.sh;
fi
- bash miniconda.sh -b -p $HOME/miniconda
- export PATH="$HOME/miniconda/bin:$PATH"
- hash -r
- conda config --set always_yes yes --set changeps1 no
- conda update -q conda
- conda info -a
- conda create -q -n test python=$TRAVIS_PYTHON_VERSION pip nose
- source activate test
- conda install --yes --file requirements.txt
- pip install -r requirements_dev.txt
- pip install coveralls
- pip install travis-sphinx
- pip install .
- mv ./detector_aedes/config_sample.yml ./detector_aedes/config.yml

script:
- if [[ "$TRAVIS_PYTHON_VERSION" == "2.7" ]]; then wget https://repo.continuum.io/miniconda/Miniconda2-latest-Linux-x86_64.sh
-O miniconda.sh; else wget https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh
-O miniconda.sh; fi
- bash miniconda.sh -b -p $HOME/miniconda
- export PATH="$HOME/miniconda/bin:$PATH"
- hash -r
- conda config --set always_yes yes --set changeps1 no
- conda update -q conda
- conda info -a
- conda create -q -n test python=$TRAVIS_PYTHON_VERSION pip nose
- source activate test
- coverage run --source=detector_aedes setup.py test
- travis-sphinx --source=docs -n build

- conda install --yes --file requirements.txt
- pip install -r requirements_dev.txt
- pip install coveralls
- pip install travis-sphinx
- pip install .
- mv ./detector_aedes/config_sample.yml ./detector_aedes/config.yml
language: python
python:
- '2.7'

matrix:
allow_failures:
- python: '2.6'
- python: '3.4'
- python: pypy


after_success:
- travis-sphinx deploy
- coveralls
python:
- '2.7'
script:
- source activate test
- coverage run --source=detector_aedes setup.py test
- travis-sphinx --source=docs -n build
sudo: false
3 changes: 1 addition & 2 deletions requirements_dev.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
pip==8.1.2
docutils==0.12
docutils==0.12
bumpversion==0.5.3
wheel==0.29.0
watchdog==0.8.3
Expand All @@ -9,7 +9,6 @@ coverage==4.1
Sphinx==1.4.8
cryptography==1.4
PyYAML==3.11

recommonmark==0.4.0
twine
sphinx_rtd_theme
Expand Down

0 comments on commit da59384

Please sign in to comment.