1
1
mirror of https://github.com/primer/css.git synced 2024-12-20 04:32:21 +03:00
css/.travis.yml

42 lines
1.3 KiB
YAML
Raw Normal View History

2016-05-25 21:56:43 +03:00
language: node_js
node_js:
2017-07-08 02:12:17 +03:00
- 7
env:
global:
# npm
2017-08-04 01:48:20 +03:00
- secure: "EZewKKWQXmtCwPtYrPZq4OQblv2OyXR61qBIl3pOxGNVG2BCjD6VOgSaiYqkA9Qbt+ihfwQkiiLvTB68gbvRSiBFV9i+XLzKzt4S8CDI5RhTLAxZB3eQFVZRYzldchzWI4sdNhTvYS1kYXmsXQZD6vJmPSnFvOI/ddfzqvnNL4M="
# github
- secure: "J+1oWjvvXjyrwkY/4IFWKdN/weFmQcPwlRuFG4R0Gb3rYe4nqtC9l68sJvmS8asc8dQMhOhcUZCH6sjvo7l2WD4NuK4umPSbs+rJNUsfbvH4pZjStQIj/3ll1OfQelGDWAYQWhIfciYY4F3Bp0ZWTfKOppLQ2AVIYu1fPVXDdlo="
2017-07-11 01:31:41 +03:00
script:
2017-07-13 02:21:30 +03:00
- npm test
2017-07-08 02:12:17 +03:00
after_success:
2017-08-04 01:50:12 +03:00
# this will short-circuit the publish step if it fails to interpolate $NPM_API_KEY
- npm config set "//registry.npmjs.org/:_authToken=\${NPM_API_KEY}"
2017-08-01 00:14:32 +03:00
# copy the CHANGELOG.md primer-css for publishing
- cp CHANGELOG.md modules/primer-css
- script/after_success
deploy:
# publish release candidates on release branches
2017-07-29 00:01:06 +03:00
- provider: script
script: script/release-candidate
2017-07-31 21:34:58 +03:00
skip_cleanup: true
on:
branch: release*
2017-09-21 02:41:32 +03:00
tags: false
# publish "final" releases on master
- provider: script
script: script/release
2017-07-31 21:34:58 +03:00
skip_cleanup: true
on:
branch: master
2017-09-21 02:41:32 +03:00
tags: false
2017-07-22 01:55:51 +03:00
notifications:
slack:
secure: W9lPRuuPMNwElkXZ8UZtu5phgUNleDCK0PgERa28dkh5b0Y9xzRpIQPRJfqVYAPtnMVXhfYcqryMzA4oj0E4fc7OxQsKmMeF1OcTuj5N4CM5xXR/qXDehOUTp6fpCToIX9d4hZ2H///PCExpul3TcfxYJe6EWQCHYd1n6zKRl8g=