-
Notifications
You must be signed in to change notification settings - Fork 17
/
.travis.yml
43 lines (43 loc) · 1.01 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
sudo: required
dist: trusty
language: node_js
node_js:
- "8"
services:
- docker
addons:
apt:
packages:
- net-tools
chrome: stable
matrix:
include:
- env: TO_TEST=secure OPENSHIFT_VERSION=v3.10
- env: TO_TEST=standard OPENSHIFT_VERSION=v3.10
- env: TO_TEST=secure OPENSHIFT_VERSION=v3.11
- env: TO_TEST=standard OPENSHIFT_VERSION=v3.11
fast_finish: true
before_install:
before_install:
- sudo apt-get update -qq
- sudo sed -i "s/\DOCKER_OPTS=\"/DOCKER_OPTS=\"--insecure-registry=172.30.0.0\/16 /g" /etc/default/docker
- sudo cat /etc/default/docker
- sudo service docker restart
- ./test/prepare.sh
install:
- npm install -g protractor
before_script:
- export DISPLAY=:99.0
- sh -e /etc/init.d/xvfb start
- webdriver-manager update --gecko=false
script:
- |
if [ "$TO_TEST" = "secure" ]; then
WEBUI_START_XVFB=false make test-e2e-secure
else
WEBUI_START_XVFB=false make test-e2e
fi
notifications:
email:
on_success: never
on_failure: never