forked from angular/protractor
-
Notifications
You must be signed in to change notification settings - Fork 0
/
circle.yml
34 lines (32 loc) · 1.12 KB
/
circle.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
machine:
node:
version: 6.9.1
environment:
# Fix issue with selenium-server in containers.
# See http://github.com/SeleniumHQ/docker-selenium/issues/87
DBUS_SESSION_BUS_ADDRESS: /dev/null
dependencies:
override:
- npm update
cache_directories:
- testapp/node_modules
post:
- ./node_modules/.bin/gulp lint
- ./node_modules/.bin/webdriver-manager update
- wget http://selenium-release.storage.googleapis.com/3.0-beta4/selenium-server-standalone-3.0.0-beta4.jar -P ./node_modules/webdriver-manager/selenium
- ./node_modules/.bin/webdriver-manager start --versions.standalone 3.0.0-beta4:
background: true
- cd testapp && npm update
- npm start:
background: true
# Install the latest Firefox beta
- pip install mozdownload mozinstall
- mozdownload --version latest-beta --destination firefox.tar.bz2
- mozinstall firefox.tar.bz2
- sudo cp -R firefox/* /opt/firefox/
# Extra tcp logging for BlockingProxy
- sudo tcpdump -i lo 'tcp && dst localhost' -w $CIRCLE_ARTIFACTS/localdump.pcap:
background: true
test:
override:
- npm test