38 lines
1012 B
YAML
38 lines
1012 B
YAML
language: node_js
|
|
node_js:
|
|
- iojs-v2
|
|
- iojs-v1
|
|
- '0.10'
|
|
- '0.12'
|
|
sudo: false
|
|
cache:
|
|
directories:
|
|
- node_modules
|
|
notifications:
|
|
email: false
|
|
before_install:
|
|
- npm i -g npm@^2.0.0
|
|
before_script:
|
|
- npm prune
|
|
- curl -Lo travis_after_all.py https://raw.github.com/dmakhno/travis_after_all/master/travis_after_all.py
|
|
after_success:
|
|
- python travis_after_all.py
|
|
- export $(cat .to_export_back)
|
|
after_failure:
|
|
- python travis_after_all.py
|
|
- export $(cat .to_export_back)
|
|
before_deploy:
|
|
- rm -f travis_after_all.py .to_export_back
|
|
after_script:
|
|
- echo leader=$BUILD_LEADER status=$BUILD_AGGREGATE_STATUS
|
|
deploy:
|
|
provider: npm
|
|
email: stephan@boennemann.me
|
|
skip_cleanup: true
|
|
api_key:
|
|
secure: Lq1FZweaNr/Ah8M7h3oWQ59HTswzvcksTUfzWb/dpqNn5FECN9I+4gi79EQPD62ZbJDCuDHY0EEEDLdnaB1z8N7kOj1RtmvC1k0teTEXFsGBPS4evXakRj+AfoBAGsTaXHqBYBOvYBxJT2Md/UoOgPSQjtAdZSNsmoFb1xkngQ0=
|
|
on:
|
|
branch: master
|
|
repo: boennemann/semantic-release
|
|
condition: "$BUILD_LEADER$BUILD_AGGREGATE_STATUS = YESothers_succeeded"
|