This repository has been archived by the owner on Jan 12, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 4
/
.travis.yml
41 lines (35 loc) · 1.65 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
sudo: false
language: node_js
node_js:
- '4'
env:
global:
- SAUCE_USERNAME=opbeat-angular
- SAUCE_ACCESS_KEY=bfc1a656-542b-4893-bdef-a7ac20256fa9
matrix:
# Order: a slower build first, so that we don't occupy an idle travis worker waiting for others to complete.
# - MODE=saucelabs_optional
- MODE=saucelabs ANGULAR_VERSION="~1.2.0"
- MODE=saucelabs ANGULAR_VERSION="~1.3.0"
- MODE=saucelabs ANGULAR_VERSION="~1.4.0"
- MODE=saucelabs ANGULAR_VERSION="~1.5.0"
matrix:
allow_failures:
- env: "MODE=saucelabs_optional"
cache:
directories:
- node_modules
- test/e2e/node_modules
addons:
firefox: "53.0"
apt:
packages:
- oracle-java8-set-default
before_script:
- (cd test/e2e && npm install && npm install angular@$ANGULAR_VERSION angular-resource@$ANGULAR_VERSION angular-route@$ANGULAR_VERSION)
- "export DISPLAY=:99.0"
- "sh -e /etc/init.d/xvfb start"
- sleep 3 # give xvfb some time to start
notifications:
slack:
secure: bvZ3eA7e4svhe/ak5Hbv45Ghpevi4rDxyNIIvZ8IS4QUhJ2YcJfp8EC9yrBwdWInVtqrOWHwPspLScMI2go6xLYJJ5wUtNwaxLTzF7XmRA7j94kIGNLGAMcxkAtWRFfctE5gjRBdYs4j/ISy+cGC0a5wcBwOZY2U743e+b2aYe8YlFGxHlDtxoiuTqGv8HJiSbHPmRSxd+3QFjLxIIHUwZRSOHwjIPMzaKFMWyyHxijXsZbcvYQ25ZqejmfcR6OIwdfJ9ostL0lmA6sblsLjNYWcjmgeNMHtBws1txSGDPb0MjvaSHF0iRCWyQs9UOoEiKqyS/6z6EJJ2mO1b3tGJhJFrZeyqafdFeTPIbRSNsk0EEZnvq+cX7yGEr6cHVZ4r/IxpcEzsGD/lkubasEoTwD81G/BjszNFc2h3HXAHawLibmu6ZvPSuQfUyGy3Clv/lTDzrQgRaDg8poreSEQZaTVjqOPyMolll/NboWhaTX+CMJxAYZ3UT3kXUrfDR0QNF/XRU82c9t3UYF2H8R8Z0yg5Eu+7MRi3o2Gl81ZhLVtVQp5w9lPZxXtZOoZHTskWbNo3AMVcbN40SmTUSiYkoaQ7W0S5puBvHirwHqti3AOtjDfDVIp3aGR3lZoJDsraCiHbPHWUaTnfuASVOTUEB2NFDp4xGF9ie86Tom8H7Q=