forked from amir720/moodlemobile2
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
64 lines (47 loc) · 1.53 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
sudo: true
dist: trusty
group: edge
addons:
apt:
sources:
- google-chrome
packages:
- google-chrome-stable
- screen
language: node_js
node_js:
- '6.9.1'
cache:
directories:
- $HOME/www/lib
- $HOME/node_modules
before_install:
- npm cache clean
- npm install -g cordova [email protected]
- npm install
- npm install -g bower
- npm install -g gulp
- bower install
addons:
sauce_connect: true
before_script:
- gulp
- screen -dm ionic serve -b -a -d --nogulp --address localhost --port 8100 # We use screen here because nohup does not work with ionic serve.
- sleep 15 # Wait a lot here, selenium and gulp:before task and ionic must be running.
matrix:
fast_finish: false
include:
- script:
- ./node_modules/protractor/bin/protractor e2e/sauce/browser/protractor-sauce-browser-activities-1.js
- script:
- ./node_modules/protractor/bin/protractor e2e/sauce/browser/protractor-sauce-browser-activities-2.js
- script:
- ./node_modules/protractor/bin/protractor e2e/sauce/browser/protractor-sauce-browser-config.js
- script:
- ./node_modules/protractor/bin/protractor e2e/sauce/browser/protractor-sauce-browser-course.js
- script:
- ./node_modules/protractor/bin/protractor e2e/sauce/browser/protractor-sauce-browser-resource.js
- script:
- ./node_modules/protractor/bin/protractor e2e/sauce/browser/protractor-sauce-browser-user.js
- script:
- ./node_modules/protractor/bin/protractor e2e/sauce/browser/protractor-sauce-browser-activities-3.js