2019-04-14 19:09:08 +02:00
|
|
|
dist: xenial
|
2018-05-14 01:50:11 +02:00
|
|
|
language: node_js
|
2019-05-26 16:55:56 +02:00
|
|
|
node_js: node
|
2018-05-14 01:50:11 +02:00
|
|
|
|
|
|
|
cache:
|
2019-06-09 22:53:15 +02:00
|
|
|
npm: true
|
2018-05-14 01:50:11 +02:00
|
|
|
directories:
|
|
|
|
- public
|
|
|
|
|
2019-04-24 11:17:03 +02:00
|
|
|
# will run `npm install` automatically here
|
|
|
|
|
|
|
|
before_install:
|
|
|
|
- sudo apt-get -qq update
|
|
|
|
- sudo apt-get install python3-pip
|
|
|
|
- sudo -H pip3 install --upgrade pip
|
2018-05-14 01:50:11 +02:00
|
|
|
|
2019-04-14 17:05:17 +02:00
|
|
|
before_script:
|
2019-04-14 17:19:33 +02:00
|
|
|
# https://docs.codeclimate.com/docs/travis-ci-test-coverage
|
2019-04-14 17:05:17 +02:00
|
|
|
- curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./cc-test-reporter
|
|
|
|
- chmod +x ./cc-test-reporter
|
|
|
|
- ./cc-test-reporter before-build
|
|
|
|
|
2018-05-14 01:50:11 +02:00
|
|
|
script:
|
|
|
|
- npm test
|
|
|
|
- npm run build
|
|
|
|
|
2019-04-14 17:05:17 +02:00
|
|
|
after_script:
|
|
|
|
- ./cc-test-reporter after-build --exit-code $TRAVIS_TEST_RESULT
|
|
|
|
|
2018-05-14 01:50:11 +02:00
|
|
|
after_success:
|
2018-06-19 22:48:33 +02:00
|
|
|
- pip install --user awscli
|
|
|
|
- export PATH=$PATH:$HOME/.local/bin
|
2018-05-14 01:50:11 +02:00
|
|
|
- npm run deploy
|
2019-06-09 22:53:15 +02:00
|
|
|
- npm run lh -- https://beta.matthiaskretschmann.com
|
2018-05-14 01:50:11 +02:00
|
|
|
|
|
|
|
notifications:
|
2018-05-14 20:15:14 +02:00
|
|
|
email: false
|
2018-08-27 20:30:06 +02:00
|
|
|
slack:
|
|
|
|
secure: TFQ8YZ9ZbmTXK8KZ1vRtDfbimwgC+e/m4cyT5rdD8za1+rhUKJ7FVDg6aqPQuURQbsk/jR/BjTEIKEnvg7tB3GyQayaUDA/J2DE3ok1KJKsZku0H+ombvk7iAeqhxghDx9R/+yWKGFShgEE7mMYGGgOM8Udb9UIfVwXvx+4OnD0tXzKiEE0Zdg3TP+25ex05T9o3VPxLaPLSZCFC+7YwAE8foGG5pmT/tReCuiIUwupxcNcqY6wovxFeEzDXqdQ0jsrZz+HZsVqZUu4Z7TjAkIyL9y5QrAbPQ2dBiTxG5VsgR8YJsyK5DPJ7DeBielLaGOoakC4U5RIvR1jPwIDWcpd/UY3AZsSc3bLbtNn2/E2cbGFzMFiO+qBZmBOxS6tDM7SvlDNYD/wDINv/Bpa4MHN6h3mY1TpgYSFf8Gke/dlZcGmRhDoG1uC8BKSIDT9+o3rhIxv8sYKDuN7U0zY02jGU5kfzQkKqKP9rl4zI+Zj0ClkjUa4t1CUNDuExmjtsrp2JQzSGmTy/ofpqizDiK+P84nCxv5BmNV8ZEE/d6AD8TBNp1jjeGmT43U34TjirtBPyDVHl7BDicw7TnwnvOsR1Xqs5l7f2XleQsb4zHqHQQzGByuF9uSAwUJYe2MCJMAy34qrVCe8vrLPhCA7lMj5uamMTPYbMD48Df/AmeRw=
|