37 строки
730 B
YAML
37 строки
730 B
YAML
language: node_js
|
|
node_js:
|
|
- "8"
|
|
python:
|
|
- "2.7"
|
|
dist: trusty
|
|
sudo: false
|
|
git:
|
|
depth: 1
|
|
env:
|
|
global:
|
|
- CLOUDSDK_CORE_DISABLE_PROMPTS=1
|
|
- CLOUDSDK_PYTHON_SITEPACKAGES=1
|
|
- GAE_APP_ID=cr-status
|
|
cache:
|
|
yarn: true
|
|
pip: true
|
|
directories:
|
|
- node_modules
|
|
before_install:
|
|
- if [ ! -d $HOME/google-cloud-sdk/bin ]; then rm -rf $HOME/google-cloud-sdk; curl https://sdk.cloud.google.com | bash > /dev/null; fi
|
|
- source $HOME/google-cloud-sdk/path.bash.inc
|
|
- gcloud components update -q
|
|
- gcloud components install app-engine-python
|
|
- gcloud version
|
|
|
|
install:
|
|
- npm install -g gulp
|
|
- npm install
|
|
- npm run travis-deps
|
|
script:
|
|
- npm run lint
|
|
- npm run test
|
|
- npm run build
|
|
after_success:
|
|
- df -h
|