message: travis: add job without docker
diff: language: cpp
  +matrix:
  + fast_finish: true
  + include:
  + - os: linux
  + dist: trusty
  + sudo: true
  + env: BUILD_TARGET=trusty_build
  + - os: linux
  sudo: required
  -
  services:
  - docker
  -
  env:
  + - BUILD_TARGET=docker_build
  - DOCKER_REPO=879326759580.dkr.ecr.eu-central-1.amazonaws.com/dronelink
  before_script:
  -- pip install --user awscli
  -- "$(aws ecr get-login --region eu-central-1)"
  -- docker pull $DOCKER_REPO
  -- sudo apt-get install libcurl4-openssl-dev
  +- if [[ "${BUILD_TARGET}" = "trusty_build" ]]; then
  + sudo apt-get install libcurl4-openssl-dev;
  + fi
  +- if [[ "${BUILD_TARGET}" = "docker_build" ]]; then
  + pip install --user awscli;
  + "$(aws ecr get-login --region eu-central-1)";
  + docker pull $DOCKER_REPO;
  + fi
  script:
  -- docker run -it -v $TRAVIS_BUILD_DIR:/home/docker1000/src/DroneLink:rw $DOCKER_REPO make
  -- docker run -it -v $TRAVIS_BUILD_DIR:/home/docker1000/src/DroneLink:rw $DOCKER_REPO make run_unit_tests
  -- docker run -it -v $TRAVIS_BUILD_DIR:/home/docker1000/src/DroneLink:rw $DOCKER_REPO make fix_style
  +- if [[ "${BUILD_TARGET}" = "trusty_build" ]]; then
  + make;
  + make run_unit_tests;
  + make fix_style;
  + fi
  +- if [[ "${BUILD_TARGET}" = "docker_build" ]]; then
  + docker run -it -v $TRAVIS_BUILD_DIR:/home/docker1000/src/DroneLink:rw $DOCKER_REPO make
  + docker run -it -v $TRAVIS_BUILD_DIR:/home/docker1000/src/DroneLink:rw $DOCKER_REPO make run_unit_tests
  + docker run -it -v $TRAVIS_BUILD_DIR:/home/docker1000/src/DroneLink:rw $DOCKER_REPO make fix_style
  + fi
  