cabana/.travis.yml

26 lines
782 B
YAML
Raw Normal View History

2017-12-14 15:01:17 -07:00
language: node_js
2017-12-14 15:35:59 -07:00
sudo: required
2017-12-14 15:01:17 -07:00
# install azure-cli 2.0, which is the preferred version. Switch to use this
# after azure accounts are handled.
2017-12-14 15:01:17 -07:00
before_install:
2017-12-14 15:38:33 -07:00
- echo "deb [arch=amd64] https://packages.microsoft.com/repos/azure-cli/ wheezy main" | sudo tee /etc/apt/sources.list.d/azure-cli.list
2017-12-14 15:14:19 -07:00
- sudo apt-key adv --keyserver packages.microsoft.com --recv-keys 52E16F86FEE04B979B07E28DB02C46DF417A0893
- sudo apt-get install apt-transport-https
- sudo apt-get update && sudo apt-get install azure-cli libudev-dev --allow-unauthenticated
2017-12-19 14:07:22 -07:00
# - yarn global add azure-cli@0.10.x
2017-12-14 15:01:17 -07:00
before_script: yarn netlify-sass
script:
- yarn test
- yarn build
2017-12-15 16:24:08 -07:00
deploy:
provider: script
2017-12-19 13:50:47 -07:00
script: scripts/travis-deploy.sh
2017-12-15 16:40:13 -07:00
skip_cleanup: true
2017-12-15 16:24:08 -07:00
on:
branch: master
tags: true