forked from e-schultz/ng2-redux-starter
-
Notifications
You must be signed in to change notification settings - Fork 0
/
circle.yml
41 lines (37 loc) · 1.22 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
35
36
37
38
39
40
41
machine:
python:
version: 2.7.9
node:
version: 6
dependencies:
pre:
- pip install robotframework==3.0
- pip install robotframework-requests==0.4.4
- pip install robotframework-selenium2library==1.7.4
- npm install -g yarn@0.19.1
override:
- yarn install
test:
override:
- yarn test
post:
- npm run build
- npm start:
background: true
#uncomment when running on browser stack using http://localhost
#DON'T FORGET TO REPLACE THE BROWSERSTACK KEY
# download and unzip browserstack local client
#- curl -O https://www.browserstack.com/browserstack-local/BrowserStackLocal-linux-x64.zip
#- unzip ./BrowserStackLocal-linux-x64.zip -d browserstack
#- rm ./BrowserStackLocal-linux-x64.zip
#- touch ./e2e/robot/results/browserstack.txt
#- ./browserstack/BrowserStackLocal -force -forcelocal REPLACE_THIS_WITH_BROWSERSTACK_KEY &> ./e2e/robot/results/browserstack.txt:
# background: true
#- sleep 5
#- ./e2d/robot/exec/run_all_on_browserstack_desktop_ie.bash
#- ./e2e/robot/exec/run_smoke_on_local_chrome.bash
- ./e2e/robot/exec/run_all_on_local_chrome.bash
general:
artifacts:
- "./e2e/robot/results"
- "./coverage/lcov-report/"