The Lokalise server has a bug that the internal portion of key references was misinterpreted as a symfony key, and was getting auto converted by the convert placeholders feature. Since we don't use this we're turning it off to work around the bug.
34 lines
664 B
YAML
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:2198814ebddfda56ee041a4b427521757dd57f75415ea9693696a64c550cef21
|
|
deploy:
|
|
provider: script
|
|
script: script/travis_deploy
|
|
on:
|
|
branch: master
|
|
dist: trusty
|
|
addons:
|
|
sauce_connect: true
|