forked from TheThingsArchive/node-app-sdk
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
41 lines (32 loc) · 1.36 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
32
33
34
35
36
37
38
39
40
41
language: node_js
node_js:
- "8"
services:
- docker
cache:
directories:
- "node_modules"
env:
- DOCKER_COMPOSE_VERSION=1.14.0
before_install:
- sudo rm /usr/local/bin/docker-compose
- curl -L https://github.com/docker/compose/releases/download/${DOCKER_COMPOSE_VERSION}/docker-compose-`uname -s`-`uname -m` > docker-compose
- chmod +x docker-compose
- sudo mv docker-compose /usr/local/bin
before_script:
- npm install --unsafe-perm
- cd test/ && docker-compose up -d && cd -
script:
- make type-deps
- make quality
- make test
before_deploy:
- make build
deploy:
provider: npm
email: romeovs@gmail.com
api_key:
secure: QlKxEKMBc6f3cPcvq72GfW/JwLtkNxfCJg8rjlXkIjjX/o5cDVgXV1OzKdovZVAcVGxjtted9ORkVI8CQt2ZYGkdrbRyqHCac5qYtex1VENo/6yNzEdjj1M5kcEF5V+j4Q/omgSFtcXPlFX1Gr3xtdZlnO07FQNbhjQbJlz/DHkpWUhwbCDp1qmdd3cqvFjFcUqomqPCtNbFE90bnCwUcyOXHQI9OaImUSnHkR3z7TF/OBpp0c9orqHPDPWKCxLdFWC+h/YIXcYD0xF8qRO6exoFifrrDXM8ijxAhA0GlKEWYu86ROlRG/4UecK4kvZuXNch731NZHtOU8jUMYMORHwbrA/1sWyyq/3ue9Bf0tgKLzVls/TlsdmgukODHU3o6XEZbWWuyOD0SAKMTGJ1yRComwYe88tDVHGUdPD+7euNtQsibG+DUnoMkGIfe6EkZND3p1yAmhSjGHzjn5tlPjt4VQq5aYylDa4lLO8l/V+KTodKw95fGj/8CG6MdqmYTm2YQpTmSXFIzbp7Xs1qIaEsWrmbjTUpcbmnNnK/vRF+bMWFJFP0fkTbcwsQQ11zI9BtpUpSaNR11m6jV0JFu0t9yCHVfxrgReP1kF0eeZ9PLCIkfL6OZ6QCn45z4Ux1GV43/mBEuDpJVqRoa/Wt5hhdV9ojvUht+C8sQLZCz+4=
on:
branch: master
tags: true