2014-12-18 03:09:10 +08:00
|
|
|
sudo: false
|
2013-02-01 21:04:33 +08:00
|
|
|
language: node_js
|
2016-09-26 20:20:44 +08:00
|
|
|
node_js:
|
2017-07-24 20:53:29 +08:00
|
|
|
- node
|
2015-07-28 23:47:02 +08:00
|
|
|
addons:
|
|
|
|
artifacts:
|
|
|
|
paths:
|
|
|
|
- dist
|
|
|
|
target_paths:
|
2015-10-14 22:56:50 +08:00
|
|
|
- content/leaflet/${NAME}
|
2018-06-25 19:34:32 +08:00
|
|
|
firefox: latest
|
2013-07-10 21:03:35 +08:00
|
|
|
env:
|
|
|
|
global:
|
2015-07-28 23:47:02 +08:00
|
|
|
- ARTIFACTS_BUCKET=leafletjs-cdn
|
|
|
|
- ARTIFACTS_PERMISSIONS=public-read
|
2013-07-10 21:03:35 +08:00
|
|
|
- secure: |-
|
2015-07-28 23:47:02 +08:00
|
|
|
JlC1rD7WryxlUbWmD3NWVX9E60XB/+ss7+j0OaY3WqWziGUWDCuoVkOMGXnp
|
|
|
|
Ev27O8qhlmRkeyiimUN64UzK0yeZ139DcZMY6r4A5E2kwHYRAO/H/zl5RAGo
|
|
|
|
Yd9GUPwZfr3xV8WhH2GFy/L/mRjkGwue2o6ZxdsqBOKfYaF9Ryg=
|
2013-07-10 21:03:35 +08:00
|
|
|
- secure: |-
|
2015-07-28 23:47:02 +08:00
|
|
|
XW1hzORAtSpTgTKkQwel5gRMDy6SotzeSRsVV2jQCn46VIMx8G/J5nOI+ImL
|
|
|
|
yeoH12PhCR0h39dM7mq8TYJo5DHwvbotI5nQhpMruSt8eMFbym8nGiqQh806
|
|
|
|
fSJXkxmQ4MAjUdNFDIirBHhdZme8q3PueFzJ+5odFMvPGn/aITQ=
|
2018-02-05 15:15:32 +08:00
|
|
|
script:
|
|
|
|
- npm test
|
2018-06-25 19:34:32 +08:00
|
|
|
- xvfb-run --server-args="-screen 0 1280x1024x16" npm run test-nolint -- --browsers Firefox
|
2015-10-14 22:56:50 +08:00
|
|
|
after_success:
|
2015-10-14 23:29:48 +08:00
|
|
|
- npm run build
|
|
|
|
- cd dist && zip -x .DS_Store -r leaflet.zip . && cd ..
|
2015-10-14 22:56:50 +08:00
|
|
|
- NAME=$TRAVIS_BRANCH
|
2015-10-14 23:29:48 +08:00
|
|
|
- '[[ $TRAVIS_PULL_REQUEST != ''false'' ]] && NAME=$TRAVIS_PULL_REQUEST'
|
|
|
|
- '[[ -n $TRAVIS_TAG ]] && NAME=$TRAVIS_TAG'
|