From c056dbe342de0c0afb346a4b6785801ee0a4b31d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B8rgen=20Lien=20Sell=C3=A6g?= Date: Wed, 13 Jun 2018 00:06:38 +0200 Subject: [PATCH] add gitlab ci --- .gitlab-ci.yml | 29 +++++++++++++++++++++++++++++ .gitmodules | 4 ++-- .travis.yml | 26 -------------------------- README.md | 2 +- 4 files changed, 32 insertions(+), 29 deletions(-) create mode 100644 .gitlab-ci.yml delete mode 100644 .travis.yml diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml new file mode 100644 index 0000000..d06310c --- /dev/null +++ b/.gitlab-ci.yml @@ -0,0 +1,29 @@ +variables: + GIT_SUBMODULE_STRATEGY: recursive + +.script: &compile + script: + - mkdir build + - cd build + - cmake scan-build .. + - scan-build --status-bugs make -j$(nproc) + - cmake -DBUILD_TESTING=1 .. + - make -j$(nproc) + - broadwayd & CTEST_OUTPUT_ON_FAILURE=1 make test + +ubuntu: + image: cppit/jucipp:ubuntu + <<: *compile +fedora: + image: cppit/jucipp:fedora + <<: *compile +arch: + image: cppit/jucipp:arch + <<: *compile +debian-testing: + image: cppit/jucipp:debian-testing + <<: *compile +debian: + image: cppit/jucipp:debian + <<: *compile + diff --git a/.gitmodules b/.gitmodules index b6d4cb4..85c1b46 100644 --- a/.gitmodules +++ b/.gitmodules @@ -1,6 +1,6 @@ [submodule "tiny-process-library"] path = tiny-process-library - url = https://gitlab.com/eidheim/tiny-process-library + url = ../../eidheim/tiny-process-library [submodule "libclangmm"] path = libclangmm - url = https://gitlab.com/cppit/libclangmm + url = ../../cppit/libclangmm diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index cf29f94..0000000 --- a/.travis.yml +++ /dev/null @@ -1,26 +0,0 @@ -sudo: required - -# osx_image: xcode7.3 - -env: - - distribution: ubuntu - - distribution: fedora - - distribution: arch - - distribution: debian-testing - - distribution: debian - -#matrix: -# include: -# - os: osx - -services: - - docker - -before_install: - - ./ci/update_ci.sh #travis_wait 90 ./ci/update_ci.sh - -script: - - script=static_analysis ./ci/execute.sh - - script=clean ./ci/execute.sh - - script=compile CXX=g++ CC=gcc ./ci/execute.sh - - script=compile make_command="broadwayd & CTEST_OUTPUT_ON_FAILURE=1 make test" ./ci/execute.sh diff --git a/README.md b/README.md index 865a0e4..b9eb92c 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# juCi++ [![Build Status](https://travis-ci.org/cppit/jucipp.svg?branch=master)](https://travis-ci.org/cppit/jucipp) [![Build status](https://ci.appveyor.com/api/projects/status/tj8ants9q8ouuoob/branch/master?svg=true)](https://ci.appveyor.com/project/zalox/jucipp-6hwdu/branch/master) +# juCi++ ###### a lightweight, platform independent C++-IDE with support for C++11, C++14 and C++17 features depending on libclang version.