From 1d426986e55a1ef60b2ead6151e1b52248b25c39 Mon Sep 17 00:00:00 2001 From: tangxifan Date: Fri, 14 Dec 2018 14:05:31 -0700 Subject: [PATCH 1/4] add travis --- .travis.yml | 51 +++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 51 insertions(+) create mode 100644 .travis.yml diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 000000000..dfeac1896 --- /dev/null +++ b/.travis.yml @@ -0,0 +1,51 @@ +language: cpp + +dist: trusty +sudo: required + +matrix: + include: + # works on Precise and Trusty + - os: linux + addons: + apt: + sources: + - ubuntu-toolchain-r-test + packages: + - automake + - bash + - build-essential + - cmake + - ctags + - curl + - doxygen + - gcc-4.9 + - gcc-7 + - g++-4.9 + - gdb + - git + - gperf + - perl + - libx11-dev + + env: + - MATRIX_EVAL="CC=gcc-4.9 && CXX=g++-4.9" + +# Compiler +compiler: + - clang + - gcc + +before_install: + - eval "${MATRIX_EVAL}" + +install: + - make + +script: + +after_failure: + - echo "success" + +after_success: + - echo "failure" From 74c1067220fdfe81cf7e8c37f33af859fd8c9207 Mon Sep 17 00:00:00 2001 From: LNIS-Projects <40280375+LNIS-Projects@users.noreply.github.com> Date: Fri, 14 Dec 2018 14:09:09 -0700 Subject: [PATCH 2/4] Update .travis.yml --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index dfeac1896..9bda64074 100644 --- a/.travis.yml +++ b/.travis.yml @@ -16,7 +16,6 @@ matrix: - bash - build-essential - cmake - - ctags - curl - doxygen - gcc-4.9 @@ -27,6 +26,7 @@ matrix: - gperf - perl - libx11-dev + - exuberant-ctags env: - MATRIX_EVAL="CC=gcc-4.9 && CXX=g++-4.9" From c7915511f7c0fba9aa524994df0b4a3ba848a6c5 Mon Sep 17 00:00:00 2001 From: LNIS-Projects <40280375+LNIS-Projects@users.noreply.github.com> Date: Fri, 14 Dec 2018 14:12:26 -0700 Subject: [PATCH 3/4] Update .travis.yml --- .travis.yml | 4 ---- 1 file changed, 4 deletions(-) diff --git a/.travis.yml b/.travis.yml index 9bda64074..2df10a545 100644 --- a/.travis.yml +++ b/.travis.yml @@ -28,16 +28,12 @@ matrix: - libx11-dev - exuberant-ctags - env: - - MATRIX_EVAL="CC=gcc-4.9 && CXX=g++-4.9" - # Compiler compiler: - clang - gcc before_install: - - eval "${MATRIX_EVAL}" install: - make From c0e49b7d4d214304f6571ac7267618d1495360db Mon Sep 17 00:00:00 2001 From: LNIS-Projects <40280375+LNIS-Projects@users.noreply.github.com> Date: Fri, 14 Dec 2018 14:16:04 -0700 Subject: [PATCH 4/4] Update .travis.yml --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 2df10a545..82a08b0e7 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,6 +1,6 @@ language: cpp -dist: trusty +#dist: trusty sudo: required matrix: