forked from skyportal/skyportal
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
91 lines (74 loc) · 2.96 KB
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
# vim ft=yaml
# Notes below compliments of the scikit-image team:
# - Use http://yaml-online-parser.appspot.com/ to make sure the yaml
# file is valid. http://lint.travis-ci.org/ is recommended
# elsewhere but does not give helpful error reports.
# - Make sure all of your "-" lines start on the same column
# - Use bash scripts for `before_install` and `script` or any part
# that has conditional statements
# - Make sure they are "executable" (chmod +x)
# - Use the following header:
# ```
# #!/usr/bin/env bash
# set -ex
# ```
# - Use the `retry` bash function from `before_install.sh` before a
# command to have it try 3 times before failing.
# - Use `pip install --retries N` for retrying package downloads.
# - Use the `section` function to start a folded section of the
# script. Section names must have underscores or dots instead of
# spaces and must be accompanied by a corresponding `section_end`
# call.
# - Feel free to cancel a build rather than waiting for it to go to
# completion if you have made a change to that branch.
# - A VM with 64bit Ubuntu 12.04 is a huge help for debugging.
language: python
dist: xenial
sudo: required
cache:
# See http://docs.travis-ci.com/user/caching/#pip-cache
directories:
- $HOME/.cache/pip
- $HOME/.cache/sphinx
- $HOME/.ccache
- $HOME/.local
- node_modules
addons:
apt:
packages:
- ccache
- wget
- nodejs
- supervisor
- unzip
- libnss3
- libgconf-2-4
postgresql: "9.6"
firefox: latest
services:
- xvfb
env:
global:
- secure: "oyEPxoRtj+VYzWMDsf3PqWZHZMVw86e1OG5B5e0GS1lKudyi9eOKqiVpKO8Ra0II8Im5IFUKeuAePsJDy6Oxw2NyS6kvmxEWSysNF+qpEEFzqzdgAV7JfIN9PAslNGbq0CG17hEVDHh7Le5L/lNfHsP2/Qh5Dxy/eOh65KFhty0/etmp2cjYhQE8FYp5zRj4XKB83J/R7eGsvfKAJr2UX9DwyvczrGzTTaAU1Gqp5HhsSVLji3AA52OFvhmEKdh0YnGZMzO+DKZuXOPN7lZikkkiUcr1eGwdnKqulNj6viuo2x0t0QBAjoszbBvWgxz3luYihVRmGNO8NRbSgosVZl040so7rG56FCleuxZyc135AH9+U9j5BvBw2p8CSVbxtYIGJffUHoto0kJt5MwjFBo7jINmGyceam/AJM15lASd1DvEzTJuuTqts/As2Msp2pfNCQCuCadpBUY+zNBn7oKvz+cOobUDa8F0jNzexZPr9/8ejv/EKYPUgLux/MjGvWa/dX0tCePzAs6BhQUUdzwX6BGNHptnazIw41VpEJM8vmDP2P7nErOIH8M6pHCESuxb5pkRCjTqhBhSSUMFf88rJd6M9dHxBqzjkipDKRUpncZV+CXEKg13QBArPlkyzO8mNmqjE7cNsMaRNfK+3hBNEgpGCU0SrIH/RNlP/b0="
matrix:
include:
- python: 3.6
env:
- TEST_TARGET=test
before_install:
- ccache -s
- export PATH=/usr/lib/ccache:${PATH}
- which python; python --version
- wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | sudo apt-key add -
- source .travis/travis_funcs.sh
install:
# Workaround for invalid GPG keys for MongoDB, CouchDB, and git-lfs
- sudo rm -f /etc/apt/sources.list.d/mongodb*
- sudo rm -f /etc/apt/sources.list.d/couchdb*
- sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 762E3157
- .travis/travis_install.sh
script: .travis/travis_script.sh
after_success:
# ESLint gets called when we try to commit the docs
- rm .git/hooks/pre-commit
- .travis/deploy_docs.sh