aboutsummaryrefslogtreecommitdiff
path: root/.travis.yml
blob: 3eeb3c336d8b88c79a3fb718bc79357a73de0b08 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
dist: xenial
language: python
python:
  - "3.6"

# Pre-installed packages.
# shellcheck v0.5.0
# Refer to the following link to install specific version shellcheck binary.
# https://github.com/koalaman/shellcheck#installing-the-shellcheck-binary
# php 7.2
install:
  - pip install pyyaml pycodestyle python-magic

env:
  - SCRIPT="./sanity-check.sh"
  - SCRIPT="docker run -v $(pwd):/test-definitions --workdir /test-definitions fsfe/reuse reuse lint"

script:
  - $SCRIPT