-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
31 lines (31 loc) · 2.1 KB
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
language: node_js
node_js:
- '10'
services:
- postgresql
before_script:
- psql -c 'CREATE DATABASE teamwork_test_db' -U postgres
- 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"
after_script:
- npm run coverage
- "./cc-test-reporter after-build --exit-code $TRAVIS_TEST_RESULT"
env:
global:
- DB_USER=postgres
- DB_NAME=teamwork_test_db
- DB_PORT=5432
- DB_PASSWORD=''
- DB_HOST=localhost
- CC_TEST_REPORTER_ID=b9dffe64ff9b1570eef3cc69cc4add47938822ca6127ef69e2d26e2f2ca55e1b
- secure: XKA9Vfb3YqfoKxNrDR3zyBmTTEW0GzDuynzCNOmm85xrwv7j847UUbWZkJnHSPVSYWCDY9G4WuqoD7Mu3ipfpyzBqbqSTOECPvUgRRffGx7ACAHwMPQU4QF6ghE9CgmlF7cv3PfUvJLWbXvUiICRjQTz+7o8H3vjjQIirXkB4wOBx2btWSK5SiIDUnT8+wRXdG+fmnFOv3Cifl1JMC3t6Oftj+Md1Eg6nDKnFxc4liprqUIJLfMfrw/Aiz1K753X/6XXl9TyDv/4nmSe8IB5/aeG/tv6kW6JoCCTKY61P13jKii3BrNxqb5HDHIT0jioTT43X7RlR7jPStQI5mQx0QC2vw1WmG8c5Osh9foXho+/y+9LD1VmN2rugdJn3jG5B+wtbGBD9F51uv1ZWCO7bB7bs+AgJqmi3lpSJtevmXbFkIF6GthL5dpby+9n4Y7Dippg376qCJeZD1HYkhLDRQnRtt1aIusUOBM9hmGQ974t4E74CqxmzL2FrT6y5Qr/orZEOaeXYu8T8h/o2sj159opA9pTzhlx6Y8MFw/mM03T6DZB8oPb8i6bSyq3qNN5S83JIuej0tFlqfwIWhDletlcr5AHpAzmBA8nWlvAtYlB5kfqi+kKrf+NuDQFnf8voJwUPa4mPvZQuzgdBvZB1DWJgEcUTmaxAs2tayiJtUw=
deploy:
provider: heroku
api_key:
secure: CA1cfOFN/v7cCUlyuQ2vcnoGcCS03j2+XD9/Q0KLbnNNk0tbKsmaPZeFG45WaF6lanzxaTghFLzkGUFa6nMqeQ7SdYGl5ps5d3u23vNCTGRM2veM0LQZqrcTFcK7bB0c9W+DsmdBeWCBsVKtVShFCfOMg49GwtTRFrOrP9Sm4NhTnJwIuOJg+HFsKq/SS33CoEzFl6hftLVMyY2Gn3RmdBBxTTclOL2upGFPc1ZYNi+TPkb44hujctyZYFihf2I6T4v+7M1tkb4tGIXNex+CA5rcLWb73q7Ah+A353Nyau4CLT+9H+lBwnqVmbfun4Eky/KfBf68IqZOr9lbsEKZ7gJvc+Au5P96b8UjxdGmT7bu2xgQGfmadSaivfb00fkjA81HhGRdPUyD76bZ83o5fTd+2jzLmzU0M+ueNUs8x6RkrikxOFiktAcEtOy2PB02OhBN2YcOBsVc4N8gDknHyoymGhiBr9DqqixkDgAZ1zUgAN/+wPJumCcwihV6y49cMVGbqNGIlwQAmebc17DIE3aNwuyp4DlueuvGLDwixA8cde7skzyoRFaI9GEmLaEZeRJQYp0DB/gjA4zWNUUFw2lPPhsia8Panav4iNkfZAXIYAQg7YowBoYY4fd/8B1U+akUfAFLj6wCWksxd4uML1fsr0ufM9An/VuKNAv1uiY=
app: devc-teamwork-rest-api
on:
repo: dave-ok/devc-teamwork-rest-api
branch: develop