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
This commit is contained in:
Akos Kiss 2019-01-14 14:45:36 +01:00 committed by GitHub
parent adb80c2045
commit 52fdf4ef3f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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: