1
0
mirror of https://github.com/kremalicious/portfolio.git synced 2024-11-15 09:35:17 +01:00
portfolio/.travis.yml

37 lines
1.4 KiB
YAML
Raw Normal View History

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
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:
- curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./cc-test-reporter
- chmod +x ./cc-test-reporter
2019-07-15 19:42:39 +02:00
- "./cc-test-reporter before-build"
2019-04-14 17:05:17 +02:00
2018-05-14 01:50:11 +02:00
script:
- npm test
- npm run build
2019-04-14 17:05:17 +02:00
after_script:
2019-07-15 19:42:39 +02:00
- "./cc-test-reporter after-build --exit-code $TRAVIS_TEST_RESULT"
2019-04-14 17:05:17 +02:00
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:
2019-07-15 19:42:39 +02:00
secure: L/4F9a/2rZ32kCkypn6242HYD9PDd9XY8Ir751rIncn5kRH9beEOV96z9ya9zEZnz42nmCXmGQh5rjxJyeNJmRv+qJa6zoFx3mSkE/cJToIkuir/87gadJLk8wWnFkg5Cu0k0SacBy6iCoilUAo2BC1jJiyPOqCH/0VP8sseEh+0GGuda+LtGVZpfcyHXTN7PRhefq/ERyzIARgEamQSEGyTkTuU5HvV3z5azwUQri04E1sLIiuITZIoRw1H6rydEOrH5R8Jw629XMvurztu5T7C+zY32fno7NjWsQ2BDzf7uoCmEfaS7sNk1S8rI5RLyGzPQdrT57Dmd9WW4Yj+8U2BHIMIoRNqM62B7iALpzWHpjFwbsbABsqyM78kmcaNdiT5X/zst8DYsTSklTcVLfUCJR+KT2SVhQcevyxHtUVegre0YuYmzDee9Pg35VCtHDKBjvuUgUoKA0/hLhMHMcEKLetCTJ6iTmhnQWMsuznhlo0UgoXPWWOKi08KW6NPUhzqffD/71sO1gSXWzYMx3kWHiT42mUZL72SAYA33fJyMtfQCdztaVqPEP4t7YVAf6XK47oi7/hZ6pHAWf2YioryBzw0M+b3KzZvLLXgpIPJO5GaqRtkRpVIC91Xc7iQTBnhhgf37HAyOsxR4LZsAq66GwzGJWshx7EY5ZqVHVs=