language: python

before_install:
  - pip install hererocks
  - hererocks env --luajit 2.0.3 --luarocks latest
  - source env/bin/activate

install:
  - luarocks install luacheck

script:
  - git diff --check $TRAVIS_COMMIT_RANGE
  - git diff --name-only $TRAVIS_COMMIT_RANGE | grep '\.lua$' | xargs --no-run-if-empty luacheck --std min+garrysmod+wiremod

dist: trusty
sudo: false
language: c

before_install:
  - pip install hererocks
  - hererocks env --luajit 2.0.3 --luarocks latest
  - source env/bin/activate

install:
  - luarocks install luacheck

script:
  - git diff --check $TRAVIS_COMMIT_RANGE
  - git diff --name-only $TRAVIS_COMMIT_RANGE | grep '\.lua$' | xargs --no-run-if-empty luacheck --std min+garrysmod+wiremod

Use a minimal containerized Travis build
Use a minimal containerized Travis build

These set of options should cause Travis to build using a fast-start
Docker container, which should knock off a considerable amount of time
off Travis builds.
