forked from metashare/META-SHARE
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
102 lines (99 loc) · 9.38 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
92
93
94
95
96
97
98
99
100
101
# This file is used by travis-ci.org to test META-SHARE
# env section
# ============
# This section sets environment variables. There are two kinds of environment
# variables in travis: "global" and "matrix".
#
# matrix variables
# -----------------
# matrix variables can be used to tell travis we want different jobs to run
# for instance to split the testsuite in two subgroups.
# Here TEST_SUITE takes two different values, so in one case the selenium
# tests run, and in the other case the rest of the tests run.
#
# global variables
# -----------------
# Common environment variables for all the jobs that will run.
#
# In order to securely use external services (such as coveralls or sauce labs)
# with travis and github some secrets have to be shared. Travis provides
# an option to encrypt environment variables in a way that only travis can
# decrypt them and use them with the external services. By doing that, we can
# safely store encrypted keys in this file and let travis decrypt and use them.
#
language: python
env:
global:
######## SAUCE LABS #############
# SAUCE_USERNAME and SAUCE_ACCESS_KEY
# https://docs.saucelabs.com/ci-integrations/travis-ci/
# You will need to create a saucelabs account, free for Free Software projects.
# ### keys for zeehio/META-SHARE:
- secure: IEtbjPMMqI9qiL9JzCoqkN4t700OOG6lM83a0M9PgIpuFviC7cmUv984Vpk55yuvnIvFp5N+BzIWFbw4frxV8Al+usVZs/WHdvwMKZfoolKY4uQAeibnQzivh5DJqRjz3A8nplH953SBosseVqXW6xQBKmexNdUmA7Iz6Tjag0A=
- secure: gi7/2rLtpYgaj4tld5eB1dL9jrRXfGAxeOVtBMAura+qKKknNE0iY0lJc6OSwY7imTRQUyg2A4xWFD0lSEw6ZQ2JpZzbCFXYXD5wsm5PPNw5lCWSUKLd1E4in9wmmQ6/tjlqH7J3DWD16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U4p8LJt5kkRE8QPf/ufZUFl5QlvREQTFiSGYlTxNUNZ3gkrjYzDL2/67bY06x5r5UIp04OhSsG2l5wwa82BkaXScNjsHb8Auhrr1RH+i0S/OhjxZGU2M9xBPIhfoJ2E+iKicM5RTNyo+AnBm+gTy4B/+QMJX5heHgolcxLz8lxikO1mT3Cwr4N9StR8UTm/ue816ZCWUvOKjOL97sjkvs2+xuM/+2vD6N7NGVu7cBeXZoC4EwbqkBAzXwqI8F2D9xRsPg+mJ0fmOdpghFZ+jRZ+Ym2PtbxXSJwbCyEeAs04lqSLILb96SmMjRbYdpaMLD65q8/oTkC6FShHvzkWq4BLgaPQMvVEH+9BtrAdspVRENKldawnvbEl5Xu/7FAQFT3pKI264LRfnTidrVfQoks9lVu4WverEJd9/k3vDJShS9H1nkx4CVYoeY4aRHd9G/ZnE4jDFAbX7MygSNRCTps8Rz3w1l2k9plc8s9wO+I4oUTwfmioe1wTZhmOCY66ZJq8DZJNMyv6XxhcSxSehDZGQzhqPK3c1FdHNU5u3K7QgVR2Vob4f5wDYyCrpxpF4h1nUyiEhkIy06GCh17RaPFmm0T3/E89m8TR/Yr8j3nL9Y1oy3pk9GE5+un+SItLOmUJK67wzlJRGigPOwT0SDxd23ogEJMUy19Jbps=
#
########### GIVE TRAVIS PUSH ACCESS ##########
# So we can push the generated gh-pages
# Generate your auth token here:
# https://github.com/settings/applications#personal-access-tokens
# Encrypt your token:
# $ gem install travis;
# $ travis login
# $ travis encrypt -r zeehio/META-SHARE "GH_AUTH='my_secret_token'"
# $ travis encrypt -r zeehio/META-SHARE "GH_REF=github.com/zeehio/META-SHARE.git"
# The repository GH_REF is not secret, but if we encrypt it we can keep
# the zeehio/META-SHARE and the metashare/META-SHARE and travis will choose the
# right one on each case.
#
# ### keys for zeehio/META-SHARE:
# GH_AUTH:
- secure: "DmTgKEmMQatjTflWlDpX0PXJf/Gh8kiBqv09AkgjdO+5imCLJ0QcQbusZ2VeJPXVyvPQ/rywSCW1KJQrcZz/n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HdaFHgsOYXZyhRuGG7LayDEHO+MqWXd6dUjRpGpYVS+qmhMEDRZtWTznfdR75xEQJpmkCapRbzw2k7ulLK8PROdZrAtwQFZ2LQIiewqqn3yRKl+hnaucxnrbbBcdHnHXEGDR7H6yzw++r9TKHx7tWm1+70kN/FB57VKvtjnfu7bWwq7O+Tfys58reidPDY54XjCU9ncT+k57bmdaNveOBgufFX39EmaQbzfNXk3Ubc8zZYT1o+Y00zcK/bm0ZU39pWiH0/s6Iyb1eA7epRX1vAjs="
# GH_REF:
- secure: "dBBbxtQTfmw6b32Mdsl6Sb0vOiQI9F0/lL+s6MHGKn8nMjbVm+MIVyZkFuPtSvS029yRMSPtGdhqy0urTITSyzlSxEeeCEiY2rrsg229oYlcO2tQnatel4OwcIOcVYdbYEstSLkK/rmzRzermHnDjFM1EZP/+XOhZVb5fmn91cgZw8YvCCKSjIwpxd2Byl6wdMbXTzFsd8A2eWL4D0O0zxjvlncuYBOwJRgxtz2BksR3N+TBWccbNlstlsI8Ytaa9lSC7fcj/ZUmexMfcdjRKpULzJxkOFvjSBY+oFb9v1EGHpd0BN+jGMrgloyhLb9HmuXJQuuZ2vQgjr7uhhb7cJDjMfChVKLOMqtdHm09u4Yo71vSb4hfjyXWHL/QK+lWo89eDu56slxQEKGWOPZ0+bmFT5fjVHlvM2nQteerNo7aU02a02FVBdrUJv3eheAZw67Qep9PMpvm3I5Z/Pdpmber0off35AB+XLPiw29821UOgvQGw5gt5IKiWhINcVYCCQXhNkTJ2X+oVwUc7kvEATVf2goL6p/KVnOJTwgzvDblYyQ7WTTlVLD1/urMLTNK/V3uKCr3kAlC7Pmx3WkpKY6forh50Ba7ZIu53BxZQnPNYEAnNLekHYXXr5Sr1g1/XxbXD8DHvQy+H1us8SGsEuBNNwJdqZGNYAE/tpCJQY="
matrix:
# basic runs the metashare testsuite without selenium tests, followed
# by the multitest that checks node syncing.
# selenium runs the selenium tests only
# docs builds the documentation and pushes it to gh-pages
- TEST_SUITE="basic"
- TEST_SUITE="selenium"
- TEST_SUITE="docs"
python:
- "2.7"
# commands to install dependencies
install:
- "pip install coveralls"
- "./install-dependencies.sh"
# command to run tests
script:
- "if [ \"x$TEST_SUITE\" = \"xbasic\" ]; then ./misc/test-ci/run-testsuite.sh; fi"
- "if [ \"x$TEST_SUITE\" = \"xselenium\" ]; then ./misc/test-ci/run-testsuite.sh --selenium-only; fi"
- "if [ \"x$TEST_SUITE\" = \"xdocs\" ] ; then ./misc/test-ci/autoupdate-docs.sh; fi"
- "if [ \"x$TEST_SUITE\" = \"xbasic\" ] ; then ./misc/test-ci/multitest.sh; fi"
after_success:
- "if [ \"x$TEST_SUITE\" != \"xdocs\" ]; then coveralls; fi"
addons:
sauce_connect: true
apt:
packages:
- libpq-dev
- python-sphinx
sudo: false