-
Notifications
You must be signed in to change notification settings - Fork 0
/
circle.yml
43 lines (40 loc) · 1.31 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
42
43
machine:
python:
version: 2.7.9
node:
version: 6
environment:
PATH: "${PATH}:${HOME}/${CIRCLE_PROJECT_REPONAME}/node_modules/.bin"
dependencies:
override:
- yarn
cache_directories:
- ~/.cache/yarn
pre:
- pip install robotframework==3.0
- pip install robotframework-requests==0.4.4
- pip install robotframework-selenium2library==1.7.4
test:
override:
- yarn test
post:
- cp -R coverage $CIRCLE_ARTIFACTS
- 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"