forked from omegaup/omegaup
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
80 lines (65 loc) · 1.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
language: php
dist: xenial
branches:
only:
- master
- release
php:
- 7.2
# Common sources and packages. If a matrix entry needs these, it should
# explicitly add both of the sources and package YAML references in its addons
# section.
addons:
apt:
sources: &common_sources
- ubuntu-toolchain-r-test
- deadsnakes
packages: &common_packages
- libmysqlclient-dev
- python-pip
- python3.5
- python3-pip
- realpath
matrix:
include:
- env: TEST_SUITE=phpunit
services:
- mysql
- env: TEST_SUITE=lint
addons:
apt:
sources:
- *common_sources
packages:
- *common_packages
- env: TEST_SUITE=selenium
addons:
apt:
sources:
- *common_sources
packages:
- *common_packages
- [nginx]
sauce_connect:
username: lhchavez
jwt:
secure: PjNJHqneJ7qPBxbZEmgBemJT6tFE+sHKmVGQ2GwzaXSHT+3cthzTjMGe/k/fi+XiiuMTfHXs09uF6bEzJAMPW6PeCjkOYR+9H5btMmEEQJvdJBafNTbL26xSr4bBNLYBlryudDCx4hKDXOGoIPCJ+mhKHTtwApbfdx5ec8r1kD4=
services:
- mysql
cache:
directories:
- $HOME/.yarn-cache
# Disables default git submodules.
# This is done to only download the modules required for testing.
git:
submodules: false
before_install: stuff/travis/run.sh "${TEST_SUITE}" before_install
install: stuff/travis/run.sh "${TEST_SUITE}" install
before_script: stuff/travis/run.sh "${TEST_SUITE}" before_script
script: stuff/travis/run.sh "${TEST_SUITE}" script
after_success: stuff/travis/run.sh "${TEST_SUITE}" after_success
after_failure: stuff/travis/run.sh "${TEST_SUITE}" after_failure
after_script: stuff/travis/run.sh "${TEST_SUITE}" after_script
notifications:
slack:
secure: Dw6yE/lCYGuAvZDthzUAxqYMzn6CxPvNaCt1RheZPs9Na7gq/LWbfPz1g7vigwvNzBDd8+NFHAo4HEZ5ajWyoXeL2b83P7+sn6sZZcpO3ZG2kjNqkroW84Aum5l3KHqi8aIvAfNXZyQm5WUABKktEza7vGUeWZs1PAu8OJuLdIU=