-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
30 lines (26 loc) · 1.6 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
# sudo: required
language: generic
services:
- docker
install:
- wget https://storage.googleapis.com/container-structure-test/latest/container-structure-test
- chmod +x container-structure-test
script:
- docker build --rm -t cozero/linter-coffeelint coffeelint
- ./container-structure-test -test.v -image cozero/linter-coffeelint coffeelint/test-config.yaml
- docker build --rm -t cozero/linter-eslint eslint
- ./container-structure-test -test.v -image cozero/linter-eslint eslint/test-config.yaml
- docker build --rm -t cozero/linter-haml-lint haml-lint
- ./container-structure-test -test.v -image cozero/linter-haml-lint haml-lint/test-config.yaml
- docker build --rm -t cozero/linter-python2-pylint python2-pylint
- ./container-structure-test -test.v -image cozero/linter-python2-pylint python2-pylint/test-config.yaml
- docker build --rm -t cozero/linter-python3-pylint python3-pylint
- ./container-structure-test -test.v -image cozero/linter-python3-pylint python3-pylint/test-config.yaml
- docker build --rm -t cozero/linter-rubocop rubocop
- ./container-structure-test -test.v -image cozero/linter-rubocop rubocop/test-config.yaml
- docker build --rm -t cozero/linter-sass-lint sass-lint
- ./container-structure-test -test.v -image cozero/linter-sass-lint sass-lint/test-config.yaml
- docker build --rm -t cozero/linter-stylelint stylelint
- ./container-structure-test -test.v -image cozero/linter-stylelint stylelint/test-config.yaml
- docker build --rm -t cozero/linter-htmlhint htmlhint
- ./container-structure-test -test.v -image cozero/linter-htmlhint htmlhint/test-config.yaml