-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathcircle.yml
30 lines (27 loc) · 1.05 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
machine:
node:
version: 7.6.0
dependencies:
pre:
- curl -s https://raw.githubusercontent.com/chronogolf/circleci-google-chrome/master/use_chrome_stable_version.sh | bash
- npm install -g [email protected]
override:
- git clone https://github.com/ExLibrisGroup/primo-explore-devenv.git ../devenv
# - cd ../devenv && git checkout -b latest_working e3b252c2e04e1f06b7e9c50ad94aef3616021318
- cd ../devenv && npm install
- cd ../devenv && npm install gulp --link
- cd .. && cp -r primo-explore-rex devenv/primo-explore/custom/NUI
- cd ../devenv/primo-explore/custom/NUI && npm install
compile:
override:
- cd ../devenv && gulp custom-js --view NUI --browserify
test:
override:
- cd ../devenv/primo-explore/custom/NUI && npm test
post:
- >
if [ -n "${RUN_NIGHTLY_BUILD}" ]; then
cd ../devenv/primo-explore/custom/NUI && \
./node_modules/protractor/bin/webdriver-manager update && \
./node_modules/protractor/bin/protractor ./test/e2e/conf.js --params.targetUrl 'https://rex-test.kb.dk'
fi