2016-12-17 20:57:09 +00:00
|
|
|
language: node_js
|
2016-12-18 02:05:13 +00:00
|
|
|
node_js:
|
|
|
|
- node
|
2016-12-17 20:57:09 +00:00
|
|
|
services:
|
|
|
|
- docker
|
2016-12-17 23:14:06 +00:00
|
|
|
- ntp
|
2017-01-28 19:21:30 +00:00
|
|
|
addons:
|
|
|
|
apt:
|
|
|
|
packages:
|
|
|
|
- libgif-dev
|
2017-05-14 15:34:51 +00:00
|
|
|
hosts:
|
|
|
|
- auth.test.local
|
|
|
|
- home.test.local
|
|
|
|
- secret.test.local
|
|
|
|
- secret1.test.local
|
|
|
|
- secret2.test.local
|
|
|
|
- mx1.mail.test.local
|
|
|
|
- mx2.mail.test.local
|
|
|
|
|
2016-12-17 20:57:09 +00:00
|
|
|
before_install: npm install -g npm@'>=2.13.5'
|
|
|
|
script:
|
2017-06-14 21:34:11 +00:00
|
|
|
- grunt build-dist
|
2017-05-13 16:32:25 +00:00
|
|
|
- grunt docker-build
|
2016-12-17 20:57:09 +00:00
|
|
|
- docker-compose build
|
|
|
|
- docker-compose up -d
|
2016-12-17 23:08:48 +00:00
|
|
|
- sleep 5
|
2017-06-16 19:11:54 +00:00
|
|
|
- ./scripts/check-services.sh
|
2017-05-14 15:34:51 +00:00
|
|
|
- npm run int-test
|
2017-06-16 19:11:54 +00:00
|
|
|
- ./scripts/npm-deployment-test.sh
|
2017-03-16 21:11:24 +00:00
|
|
|
|
|
|
|
after_success:
|
2017-06-01 19:34:00 +00:00
|
|
|
- ./scripts/docker-publish.sh
|
2017-03-16 21:11:24 +00:00
|
|
|
|
2016-12-17 20:57:09 +00:00
|
|
|
deploy:
|
|
|
|
provider: npm
|
|
|
|
email: clement.michaud34@gmail.com
|
|
|
|
api_key:
|
2016-12-18 02:05:13 +00:00
|
|
|
secure: Hj09zw6uHWWRm9WtVSluy1XdISQGQWC3QElT03EuOfn6Mw/4A4Lj5pkvas+cb5y4aGdhQwaldYtKMMQKQ2ASCHcwHF780fkr+bmUjQr3BwrnJn/HsWrg1Q3jcRfY2GmI+hrDlP0/G534132EKxwDGusNSd6atDsQkkCfWDLuRZxkIqYazpanRBUI2jro65f4xX0X1mRgsBEp0gx+m0rFx/yuCkjoDoSlseEJ/NuyaR5N+JervKdrE6K3TrzJ1trnI5L00dwtgiYqlqyXaV8NMR2AOTr/vQlnnjZvkdTZGcKAFMWv3vjTecfp/Z3RW4saRR4CIJKC4JozE70+WMLqmo11br9q58zSrmKjOfkhf6FXaNHIJc/eQr3+PFzhW9DCVcNfcBh5wTVgTlLEp9845FaBdzjH40K0J4OrSnBhWDW14S7fXurTJafR6Ycxhi17vN2oEsT8XcTg2kcrnplMtt5Ylnkb4kYeVIk9cpeTvYtFjlzWPsxZhtURReY+Inbtt8nYThicqjBHHuDpBmyb0aafTYF5qQLx343KBfwFrDHPZXbglZ8Q97OAS9G0LzxkmYf+pIgW7inGsuB4CW6TPNCTZmVo6O2Ov9S4J/aXRfQSbmZa7e3gHP9pbMPhfw4P0ecpbCzRJzXrQXZcet6oIHMCqLB4qOB8KR4/IHplbaE=
|
2016-12-17 20:57:09 +00:00
|
|
|
on:
|
|
|
|
tags: true
|
|
|
|
notifications:
|
|
|
|
email:
|
|
|
|
recipients:
|
|
|
|
- clement.michaud34@gmail.com
|
|
|
|
on_success: change
|
|
|
|
on_failure: always
|
2017-03-16 21:11:24 +00:00
|
|
|
|