Revision 93809422bd029ec5bfa8f1821839b4ab2ad196d9 authored by nsubiron on 29 September 2018, 17:35:28 UTC, committed by nsubiron on 02 October 2018, 13:03:58 UTC
1 parent cca42fd
Raw File
.travis.yml
language: cpp
compiler: clang

os: linux
dist: trusty
sudo: false

matrix:
  include:

    - env: TEST="Unit Tests"
      addons:
        apt:
          sources:
            - ubuntu-toolchain-r-test
            - llvm-toolchain-trusty-5.0
          packages:
            - g++-7 # we need this one for the libstdc++.
            - clang-5.0
            - ninja-build
            - python
            - python-pip
            - python3
            - python3-pip
            - libboost-python-dev
      install:
        - pip2 install --user setuptools nose2
        - pip3 install --user setuptools nose2
        - make setup
      script:
        - make setup >/dev/null
        - make LibCarla >/dev/null
        - make PythonAPI >/dev/null
        - make check ARGS="--all --gtest_args=--gtest_filter=-*_mt"

    - env: TEST="Pylint 2"
      addons:
        apt:
          packages:
            - python
            - python-pip
      install:
        - pip2 install --user -r PythonClient/requirements.txt
        - pip2 install --user pylint
      script:
        - pylint --disable=R,C --rcfile=PythonClient/.pylintrc PythonClient/carla PythonClient/*.py

    - env: TEST="MkDocs"
      install:
        - pip install --user mkdocs
      script:
        - mkdocs build --verbose --clean --strict --site-dir _site

    - env: TEST="AwesomeBot"
      install:
        - gem install awesome_bot
      script:
        - find . -name '*.md' | xargs awesome_bot --allow-dupe --allow-redirect --skip-save-results

notifications:
  email: false
back to top