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

41 lines
1.6 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
node_js:
- '12'
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
- './cc-test-reporter before-build'
2019-04-14 17:05:17 +02:00
2018-05-14 01:50:11 +02:00
script:
- npm test
- './cc-test-reporter after-build --exit-code $TRAVIS_TEST_RESULT'
2019-09-01 02:16:47 +02:00
- npm run build
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-27 16:30:39 +02:00
template:
- '%{branch} *%{result}* build (<%{build_url}|#%{build_number}>) for <%{compare_url}|%{commit}>'
- 'Execution time: *%{duration}*'
- 'Message: %{message}'
2019-07-27 16:30:39 +02:00
rooms:
- secure: r6kVJw3zS4raTXgeBEYZYO/5YawnLoi1vO4zG3obhcNFRLm9FxlzuXfulFhjQA4viPQUW07m5UGud4bPTrDIAE35GUcLRlyisH/odahgsrmqLrBvz9CB+/V5WrEsCGpE9G3I/y5JGSRavjs+5qfVqJZaAI9Ox7bCcw+Msa5r/p7/yJw5di4EzgNLFWQswyio0zeOdjtCYgqpngWtLGpn0ksSwqNyqp/kntoHSz4nDdO/6GWS1q5K9mOfGMXr/wwiYuQrgDPpygRWETy9F8qh9yH2cseJmCZaXvSTSU1L9yV01qrBP5zDTTM2jPUGMQKY4JBoxFtU29G1BLWGAgMW9ymKe9V+f8FgbirZ+O1Vp87QAZPJXx5kO+pgqBtGewoYfp0k9HJ5xQAhr83l82w8BAEHVS3G/Y7cKKK9QNH9Z6gpdx6Y3s9YkpGqkv79MRvZo0tJV+XTOldCCfUFVxXXuZofuswWGUgt2h9qNoFY+AZc0G1TV/XVDHbDm32JNiGkuk+uO83HT9VI7G5PRWNcD8kP7ZS6XThiU2qOGr4OPGggmpFpJ7Yqc3LNFOjhFunKSzGOrZrc0GLZAbAR7qHkWNpiqQQ/RSpfnXfbPlAIJY6w5Vuzh9KhIIPkbWdP89Bc2Kw+W+ACFjStO7s298/8dty44EvJ2TS9CCjOhYtgaxk=