2015-08-13 05:29:58 +02:00
|
|
|
sudo: false
|
|
|
|
language: node_js
|
2016-07-28 05:22:48 +02:00
|
|
|
cache:
|
2017-09-10 04:47:07 +02:00
|
|
|
yarn: true
|
2016-07-28 05:22:48 +02:00
|
|
|
directories:
|
2018-05-15 19:31:47 +02:00
|
|
|
- bower_components
|
|
|
|
install: yarn install
|
2017-04-04 07:51:20 +02:00
|
|
|
script:
|
2017-08-03 06:31:04 +02:00
|
|
|
- npm run build
|
2018-05-17 05:03:48 +02:00
|
|
|
- hassio/script/build_hassio
|
2017-04-04 07:51:20 +02:00
|
|
|
- npm run test
|
2018-05-15 19:31:47 +02:00
|
|
|
# - xvfb-run wct --module-resolution=node --npm
|
|
|
|
# - 'if [ "${TRAVIS_PULL_REQUEST}" = "false" ]; then wct --module-resolution=node --npm --plugin sauce; fi'
|
2017-11-10 04:15:55 +01:00
|
|
|
services:
|
|
|
|
- docker
|
|
|
|
before_deploy:
|
2018-05-15 19:31:47 +02:00
|
|
|
- 'docker pull lokalise/lokalise-cli@sha256:2198814ebddfda56ee041a4b427521757dd57f75415ea9693696a64c550cef21'
|
2017-11-10 04:15:55 +01:00
|
|
|
deploy:
|
|
|
|
provider: script
|
|
|
|
script: script/travis_deploy
|
2018-05-15 19:31:47 +02:00
|
|
|
'on':
|
2017-11-10 04:15:55 +01:00
|
|
|
branch: master
|
2017-04-04 07:51:20 +02:00
|
|
|
dist: trusty
|
2017-04-19 08:47:03 +02:00
|
|
|
addons:
|
|
|
|
sauce_connect: true
|
2018-05-15 19:31:47 +02:00
|
|
|
|