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:
+4
-7
@@ -1,13 +1,8 @@
|
|||||||
language: c
|
language: c
|
||||||
|
|
||||||
# Default environment: Container-based (sudo-less) Ubuntu Trusty 14.04.
|
# Default environment: Ubuntu Trusty 14.04.
|
||||||
os: linux
|
os: linux
|
||||||
dist: trusty
|
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.
|
# Default job task: run tests as defined in the $OPT environment variable.
|
||||||
# Jobs can redefine the 'script' stage in the matrix below.
|
# Jobs can redefine the 'script' stage in the matrix below.
|
||||||
@@ -48,7 +43,9 @@ matrix:
|
|||||||
env:
|
env:
|
||||||
- OPTS="--quiet --jerry-tests --jerry-test-suite --unittests"
|
- OPTS="--quiet --jerry-tests --jerry-test-suite --unittests"
|
||||||
os: osx
|
os: osx
|
||||||
install: tools/brew-install-deps.sh
|
addons:
|
||||||
|
homebrew:
|
||||||
|
packages: [cmake, cppcheck, vera++]
|
||||||
|
|
||||||
- name: "Build Tests"
|
- name: "Build Tests"
|
||||||
env:
|
env:
|
||||||
|
|||||||
Reference in New Issue
Block a user