2016-07-02 03:06:57 +02:00
|
|
|
dist: trusty
|
2015-10-26 17:16:26 +01:00
|
|
|
before_install:
|
2015-12-26 18:16:29 +01:00
|
|
|
- nvm install 0.10
|
2015-09-28 18:17:23 +02:00
|
|
|
install:
|
2016-06-04 21:03:14 +02:00
|
|
|
- pip install coveralls
|
2015-10-15 01:47:42 +02:00
|
|
|
- tools/travis/setup-$TEST_SUITE
|
2016-05-03 23:44:31 +02:00
|
|
|
- tools/clean-venv-cache --travis
|
2015-10-14 15:59:35 +02:00
|
|
|
cache:
|
|
|
|
- apt: false
|
2015-12-26 18:16:29 +01:00
|
|
|
- directories:
|
2016-05-03 23:35:32 +02:00
|
|
|
- $HOME/phantomjs
|
2016-05-03 22:54:29 +02:00
|
|
|
- $HOME/zulip-venv-cache
|
2016-06-02 11:54:05 +02:00
|
|
|
- node_modules
|
2016-06-14 10:33:23 +02:00
|
|
|
- $HOME/node
|
2015-10-15 01:47:42 +02:00
|
|
|
env:
|
2016-06-04 21:03:14 +02:00
|
|
|
global:
|
|
|
|
- COVERALLS_PARALLEL=true
|
|
|
|
- COVERALLS_SERVICE_NAME=travis-pro
|
|
|
|
- COVERALLS_REPO_TOKEN=hnXUEBKsORKHc8xIENGs9JjktlTb2HKlG
|
2016-07-03 11:07:12 +02:00
|
|
|
- BOTO_CONFIG=/tmp/nowhere
|
2016-06-04 21:03:14 +02:00
|
|
|
matrix:
|
|
|
|
- TEST_SUITE=frontend
|
|
|
|
- TEST_SUITE=backend
|
2015-09-28 18:17:23 +02:00
|
|
|
language: python
|
|
|
|
python:
|
|
|
|
- "2.7"
|
2016-07-18 23:29:56 +02:00
|
|
|
- "3.4"
|
2016-04-18 11:46:53 +02:00
|
|
|
matrix:
|
|
|
|
include:
|
|
|
|
- python: "3.4"
|
2016-07-11 06:53:08 +02:00
|
|
|
env: TEST_SUITE=static-analysis
|
2016-07-18 23:29:56 +02:00
|
|
|
- python: "2.7"
|
|
|
|
env: TEST_SUITE=production
|
2016-07-02 03:06:57 +02:00
|
|
|
sudo: required
|
2015-09-28 18:17:23 +02:00
|
|
|
# command to run tests
|
|
|
|
script:
|
2015-10-15 01:47:42 +02:00
|
|
|
- ./tools/travis/$TEST_SUITE
|
2015-09-28 18:17:23 +02:00
|
|
|
sudo: required
|
|
|
|
services:
|
|
|
|
- docker
|
|
|
|
addons:
|
|
|
|
postgresql: "9.3"
|
2016-06-04 21:03:14 +02:00
|
|
|
after_success:
|
|
|
|
coveralls
|
|
|
|
notifications:
|
|
|
|
webhooks: https://coveralls.io/webhook?repo_token=$COVERALLS_REPO_TOKEN
|