forked from insighty-studio/nightwatch-starter
-
Notifications
You must be signed in to change notification settings - Fork 0
/
circle.yml
26 lines (26 loc) · 811 Bytes
/
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
checkout:
post:
- git submodule update --init
machine:
environment:
PATH: "${PATH}:${HOME}/${CIRCLE_PROJECT_REPONAME}/node_modules/.bin"
node:
version: 7.10.0
dependencies:
override:
- yarn
test:
pre:
# Update to latest Chrome
- google-chrome --version
- wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | sudo apt-key add -
- sudo sh -c 'echo "deb [arch=amd64] http://dl.google.com/linux/chrome/deb stable main" >> /etc/apt/sources.list.d/google.list'
- sudo apt-get update
- sudo apt-get --only-upgrade install google-chrome-stable
- google-chrome --version
# Allow Nightwatch to write logs
- sudo mkdir logs
- sudo touch logs/selenium-debug.log
- sudo chown -R ubuntu:ubuntu logs
override:
- yarn integration-test