Tone.js/.travis.yml

47 lines
891 B
YAML
Raw Normal View History

2017-08-30 13:45:22 +00:00
sudo: false
dist: trusty
language: node_js
node_js:
2017-09-09 22:32:31 +00:00
- '8'
2017-08-31 17:28:36 +00:00
addons:
chrome: stable
2016-03-04 21:49:28 +00:00
before_script:
2017-09-09 22:32:31 +00:00
- cd gulp
- npm install -g jsdoc
- npm install -g karma
- npm install -g gulp
- npm install
- git config --global user.email "travis@travis-ci.org"
- git config --global user.name "Travis CI"
2017-08-30 18:42:04 +00:00
script: gulp travis-test
2017-08-30 13:45:22 +00:00
after_success:
2017-09-09 22:32:31 +00:00
- sh success.sh
before_deploy:
- node increment_version.js
2017-09-09 22:37:32 +00:00
- cd ../
2017-09-09 22:32:31 +00:00
deploy:
- provider: npm
skip_cleanup: true
email: yotammann@gmail.com
api_key: $NPM_TOKEN
tag: next
on:
repo: Tonejs/Tone.js
branch: dev
# publish without @next when pushing on master
- provider: npm
skip_cleanup: true
email: yotammann@gmail.com
api_key: $NPM_TOKEN
on:
repo: Tonejs/Tone.js
branch: master
# publish build files for releases
- provider: releases
api-key: $GH_TOKEN
file_glob: true
file: build/*
skip_cleanup: true
on:
tags: true