File tree 1 file changed +14
-7
lines changed
1 file changed +14
-7
lines changed Original file line number Diff line number Diff line change
1
+ sudo : required
2
+ dist : trusty
3
+
1
4
language : node_js
2
5
node_js :
3
- - ' 4.4 '
6
+ - ' 4.5 '
4
7
5
- before_script :
8
+ install :
6
9
- export DISPLAY=:99.0
7
10
- sh -e /etc/init.d/xvfb start
8
- - npm start > /dev/null &
9
- - npm run update-webdriver
10
- - sleep 1 # give server time to start
11
+ - wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | sudo apt-key add -
12
+ - sudo sh -c 'echo "deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main" >> /etc/apt/sources.list.d/google-chrome.list'
13
+ - sudo apt-get update -q
14
+ - sudo apt-get install -q google-chrome-stable
15
+
16
+ before_script :
17
+ - npm install
11
18
12
19
script :
13
- - node_modules/.bin/karma start karma.conf.js --no-auto-watch -- single-run --reporters=dots --browsers=Firefox
14
- - node_modules/.bin/protractor e2e-tests/protractor.conf.js --browser=firefox
20
+ - npm run test- single-run
21
+ - (npm start > /dev/null &) && (npm run protractor)
You can’t perform that action at this time.
0 commit comments