From 52fdf4ef3f31240ad3ac10e5ac47fc5dbecff9ce Mon Sep 17 00:00:00 2001 From: Akos Kiss Date: Mon, 14 Jan 2019 14:45:36 +0100 Subject: [PATCH] Travis CI config maintenance (#2683) - `sudo: false` has been deprecated. - `install` step is skipped by default for C projects, so there is no need setting it explicitly. - Homebrew addon can be used to install dependencies for OSX jobs (and, by experience, it is a lot faster than manually invoking brew). JerryScript-DCO-1.0-Signed-off-by: Akos Kiss akiss@inf.u-szeged.hu --- .travis.yml | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/.travis.yml b/.travis.yml index ad8bda712..7c2d0b6b8 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,13 +1,8 @@ language: c -# Default environment: Container-based (sudo-less) Ubuntu Trusty 14.04. +# Default environment: Ubuntu Trusty 14.04. os: linux dist: trusty -sudo: false - -# Default dependency installation step: nop intentionally. -# Jobs can add their own dependencies by redefinig the 'install' stage in the matrix below. -install: skip # Default job task: run tests as defined in the $OPT environment variable. # Jobs can redefine the 'script' stage in the matrix below. @@ -48,7 +43,9 @@ matrix: env: - OPTS="--quiet --jerry-tests --jerry-test-suite --unittests" os: osx - install: tools/brew-install-deps.sh + addons: + homebrew: + packages: [cmake, cppcheck, vera++] - name: "Build Tests" env: