ha-frontend-cdce8p/.travis.yml
Adam Mills 1fbad393bf
Lokalise upload fix (#976)
* Pin lokalise sceript to working version

* Include cleanups from the home-assistant scripts
2018-03-07 09:46:33 -05:00

34 lines
664 B
YAML

sudo: false
language: node_js
cache:
yarn: true
directories:
- bower_components
install:
- yarn install
- ./node_modules/.bin/bower install
addons:
firefox: latest
apt:
sources:
- google-chrome
packages:
- google-chrome-stable
script:
- npm run build
- npm run test
- xvfb-run wct
- if [ "${TRAVIS_PULL_REQUEST}" = "false" ]; then wct --plugin sauce; fi
services:
- docker
before_deploy:
- docker pull lokalise/lokalise-cli@sha256:79b3108211ed1fcc9f7b09a011bfc53c240fc2f3b7fa7f0c8390f593271b4cd7
deploy:
provider: script
script: script/travis_deploy
on:
branch: master
dist: trusty
addons:
sauce_connect: true