2013-12-09 13:06:41 +01:00
|
|
|
language: python
|
|
|
|
python:
|
2014-01-16 19:49:15 +01:00
|
|
|
- '2.6'
|
|
|
|
- '2.7'
|
2014-02-07 19:35:18 +01:00
|
|
|
env:
|
2014-02-18 17:21:30 +01:00
|
|
|
global:
|
|
|
|
- secure: exbot0LTV/0Wic6ElKCrOZmh2ZrieuGwEqfYKf5rVuwu1sLngYRihh+lBL/hTwc79NSu829pbwiWfsQZrXbk/yvaS7avGR0CLDoipyPxlYa2/rfs/o4OdTZqXv0LcFmmd54j5QBMpWU1S+CYOwNkwas57trrvIpPbzWjMtfYzOU=
|
|
|
|
install:
|
|
|
|
- pip install .
|
|
|
|
- pip install -r requirements.txt
|
|
|
|
- pip install -r requirements-dev.txt
|
|
|
|
- sudo curl -L -o /usr/local/bin/orchard https://github.com/orchardup/go-orchard/releases/download/2.0.5/linux
|
|
|
|
- sudo chmod +x /usr/local/bin/orchard
|
|
|
|
before_script:
|
2014-05-05 11:46:52 +02:00
|
|
|
- 'if [ "${TRAVIS_PULL_REQUEST}" = "false" ]; then orchard hosts rm -f $TRAVIS_JOB_ID || true; fi'
|
|
|
|
- 'if [ "${TRAVIS_PULL_REQUEST}" = "false" ]; then orchard hosts create $TRAVIS_JOB_ID; fi'
|
2014-01-06 11:12:37 +01:00
|
|
|
script:
|
2014-02-18 17:21:30 +01:00
|
|
|
- nosetests tests/unit
|
2014-05-05 11:46:52 +02:00
|
|
|
- 'if [ "${TRAVIS_PULL_REQUEST}" = "false" ]; then script/travis-integration; fi'
|
2014-02-18 17:21:30 +01:00
|
|
|
after_script:
|
2014-05-05 11:46:52 +02:00
|
|
|
- 'if [ "${TRAVIS_PULL_REQUEST}" = "false" ]; then orchard hosts rm -f $TRAVIS_JOB_ID; fi'
|
2014-01-16 19:51:32 +01:00
|
|
|
deploy:
|
|
|
|
provider: pypi
|
|
|
|
user: orchard
|
|
|
|
password:
|
|
|
|
secure: M8UMupCLSsB1hV00Zn6ra8Vg81SCFBpbcRsa0nUw9kgXn9hOCESWYVHTqQ1ksWZOa8z6WMaqYtoosPKXGJQNf0wF/kEVDsMUeaZWOF/PqDkx1EwQ1diVfwlbN4/k0iX+Se7SrZfiWnJiAqiIPqToQipvLlJohqf8WwfPcVvILVE=
|
|
|
|
on:
|
|
|
|
tags: true
|
|
|
|
repo: orchardup/fig
|