-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy path.travis.yml
35 lines (27 loc) · 1.29 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
sudo: required
services:
- docker
language: node_js
node_js:
- '14'
cache:
npm: true
directories:
- node_modules
before_install:
- sudo rm /usr/local/bin/docker-compose
- curl -L https://github.com/docker/compose/releases/download/1.21.2/docker-compose-`uname -s`-`uname -m` > docker-compose
- chmod +x docker-compose
- sudo mv docker-compose /usr/local/bin
install:
- docker-compose pull
- yarn
- docker pull hadolint/hadolint
script:
- yarn dev:docker:db
- yarn dev:lint
- yarn test
- docker run --rm -i hadolint/hadolint hadolint --ignore DL3018 - < Dockerfile
notifications:
slack:
secure: XLtKgXwYJFEk26VSPoglFVF7ogeTMPOdkS31lUHC2kd6Hv8HTmWaC7FFQRyG686TsqkohROTyAABj+uvS+Bjd0pDVuMPBJ144wd9fwBqhF46hqMFTNCpNpo6mkV1Ux+6GBkSqQlhwbFpwpyxkmspLSPgVUYDEUGD6HP+JYi6Xb0Uq7TiiBB/5UJQ9dMcb2nlKzHSSoIR4OA+Fhvgh/7vk5Q7rg9mxF7Q9t/xuo3a4yK0vScVVQEKCz50FRdqY11BfYs/FyVGMK0ANWV3B/BZcKpLZ4N+5V+BhBUKp/DtDCJe2I1Xj7QrIT1pkWNSGZlSSPPBYzAQdBmANj1hUe65XiAM9NNX8urdEsR63Xr617qkSUeVtJ1KVeQNMvf/mpAWrBVWc7JvZzoLIx6Iqo/MwBZmrPSWCcGXLfUTAh1kbD61YlejNlScmbvuJKk/46FnVpNHsKq7KaAGXytLSHCerJewQwAKE52HzyB4ST7lExwLMhzIyan6WCWPv0rfjzG9bV7p5dmetjOVMw2OddbsaOgWIXjDECOsAYzKUjFgNuOAD1dcSTpk7aQU4J8YosTd9eSaq4vN0vjcwgUQHA1QrspUGHfv3QgU2fn8qfOfzmmdPMP7gu+a0OWNv0WTqbVnXU/76a2BgOPHK9HFEdDchAYe7A/WEAAxVEYja8rtE3A=