-
Notifications
You must be signed in to change notification settings - Fork 7
/
.travis.yml
28 lines (28 loc) · 1.08 KB
/
.travis.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
language: node_js
node_js:
- '10'
- '12'
before_script:
- npm install -g grunt-cli
- gem install cucumber aruba
- ./create_config.sh
script:
- npm test
- cucumber --tags "not @wip"
- mkdir -p tmp && ./bin/product-type-generator --types data/sample-product-types.csv
--attributes data/sample-product-types-attributes.csv --target ./tmp --zip
- mkdir -p tmp && ./bin/product-type-generator --types data/marketplace-types.csv
--attributes data/marketplace-attributes.csv --target ./tmp --zip
- grunt cleanup
- ./bin/product-type-update --projectKey ${SPHERE_PROJECT_KEY} --clientId ${SPHERE_CLIENT_ID}
--clientSecret ${SPHERE_CLIENT_SECRET} --source ./tmp
notifications:
hipchat:
rooms:
- secure: BbMUlILTPGhOX0ZBNqyCq0LpqwRNTOmuqv8gsg83LiDPy4SI/YsjAOQLlrbnoXLECAQMfRBwnED1XVJnskgJbj/VFL+q0hAa0GWfp8gLj7PAv40TYM7+pj6KDxJMWh3ZMWrQ2ixNRAjbuGnP2AfL0Gn6hj6NaxFwyIGQrb7sHKo=
template:
- '%{repository}#%{build_number} (%{author}): %{message} (<a href="%{build_url}">Details</a>/<a
href="%{compare_url}">Compare</a>)'
format: html
on_success: change
on_failure: change