-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy path.travis.yml
39 lines (38 loc) · 1.04 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
29
30
31
32
33
34
35
36
37
38
39
sudo: required
dist: trusty
git:
depth: 1
language: node_js
node_js:
- stable
cache:
directories:
- node_modules
matrix:
fast_finish: true
notifications:
webhooks:
urls:
- https://outlook.office.com/webhook/3b6879b1-8830-4f1e-a4bf-e4e9761460c1@07261bf4-4bea-401b-ac9c-de322838b380/TravisCI/f8e60d652e5343bc9e009dc701c961bc/f4d49b17-6166-458f-81cd-2b5acbc3801c
on_success: change
on_failure: always
on_error: always
install:
- curl -s https://raw.githubusercontent.com/Shopify/themekit/master/scripts/install | sudo python
- yarn install
script:
- echo Ya!
after_success:
- yarn build
- yarn zip
deploy:
- provider: script
skip_cleanup: true
script: npm run release && theme deploy -n -d dist -p $PROD_PASSWORD -s $PROD_SHOP -t $PROD_THEME_ID --no-update-notifier --ignores './themekit_ignores'
on:
branch: master
- provider: script
skip_cleanup: true
script: theme deploy -n -d dist -p $STAGE_PASSWORD -s $STAGE_SHOP -t $STAGE_THEME_ID --no-update-notifier --ignores './themekit_ignores'
on:
branch: develop