readthedocs.org/.travis.yml

52 lines
1.1 KiB
YAML
Raw Normal View History

2013-04-08 17:05:09 +00:00
language: python
python:
- 2.7
- 3.6
sudo: false
2018-05-20 03:05:51 +00:00
env:
- ES_VERSION=1.3.9 ES_DOWNLOAD_URL=https://download.elastic.co/elasticsearch/elasticsearch/elasticsearch-${ES_VERSION}.tar.gz
matrix:
include:
- python: 3.6
env: TOXENV=docs
2018-02-21 20:46:46 +00:00
- python: 3.6
2018-02-21 18:22:18 +00:00
env: TOXENV=docs-lint
- python: 3.6
env: TOXENV=lint
2018-05-21 22:16:48 +00:00
script: tox
- python: 3.6
env: TOXENV=eslint
2018-10-31 16:11:15 +00:00
- python: 3.6
env: TOXENV=migrations
cache:
directories:
- ~/.cache/pip
- ~/.nvm/nvm.sh
2018-08-06 23:21:31 +00:00
- ~/.npm
2018-10-30 00:10:16 +00:00
before_install:
2018-10-30 01:45:34 +00:00
- sudo apt-get install -y git
2013-04-08 17:05:09 +00:00
install:
2018-05-20 05:15:46 +00:00
- ./scripts/travis/install_elasticsearch.sh
- pip install tox-travis
- curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.33.2/install.sh | bash
- source ~/.nvm/nvm.sh
- nvm install --lts
- nvm use --lts
- npm install -g bower
- npm install
- bower install
2013-04-08 17:05:09 +00:00
script:
2018-05-21 22:16:48 +00:00
- ./scripts/travis/run_tests.sh
2015-01-12 23:42:36 +00:00
notifications:
2015-01-16 16:49:56 +00:00
slack:
rooms:
2015-09-15 18:10:14 +00:00
- readthedocs:y3hjODOi7EIz1JAbD1Zb41sz#random
2015-01-16 16:55:51 +00:00
on_success: change
on_failure: always
branches:
only:
2018-10-16 08:23:57 +00:00
- master
- rel # Community release branch
- relcorp # Corporate release branch