From 5d8044756aee4e05242faf2e7299d73b4571de57 Mon Sep 17 00:00:00 2001 From: Edouard DUPIN Date: Mon, 24 Oct 2016 22:23:26 +0200 Subject: [PATCH] [CI] add travis CI --- .travis.yml | 32 +++++++++++++++++--------------- README.md | 6 ++++-- 2 files changed, 21 insertions(+), 17 deletions(-) diff --git a/.travis.yml b/.travis.yml index c4df7c8..eeaeb48 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,6 +1,7 @@ language: cpp -sudo: false +sudo: required +dist: trusty branches: only: @@ -14,24 +15,24 @@ addons: packages: - g++-4.9 - expect - #- binutils-mingw-w64-x86-64 # 64bit MinGW - #- gcc-mingw-w64-x86-64 - #- g++-mingw-w64-x86-64 + - binutils-mingw-w64-x86-64 # 64bit MinGW + - gcc-mingw-w64-x86-64 + - g++-mingw-w64-x86-64 matrix: include: - os: linux - env: CONF=debug BUILDER=gcc TARGET=Linux TAG=Linux COMPILATOR_OPTION="--compilator-version=4.9" GCOV=--gcov + env: CONF=release BUILDER=gcc TARGET=Linux TAG=Linux COMPILATOR_OPTION="--compilator-version=4.9" GCOV=--gcov compiler: gcc - os: linux env: CONF=debug BUILDER=clang TARGET=Linux compiler: clang - #- os: linux - # env: CONF=release BUILDER=gcc TARGET=Windows TAG=Mingw - # compiler: x86_64-w64-mingw32-gcc - #- os: linux - # env: CONF=release BUILDER=gcc TARGET=Android TAG=Android DISABLE_PACKAGE=-p - # compiler: gcc + - os: linux + env: CONF=release BUILDER=gcc TARGET=Windows TAG=Mingw + compiler: x86_64-w64-mingw32-gcc + - os: linux + env: CONF=release BUILDER=gcc TARGET=Android TAG=Android DISABLE_PACKAGE=-p + compiler: gcc - os: osx env: CONF=release BUILDER=clang TARGET=MacOs TAG=MacOs compiler: clang @@ -39,7 +40,6 @@ matrix: env: CONF=release BUILDER=clang TARGET=IOs TAG=IOs compiler: clang - install: - cd .. - pip install --user lutin @@ -52,7 +52,9 @@ install: before_script: - cd .. - - git clone https://github.com/atria-soft/etk.git -b $TRAVIS_BRANCH + - git clone https://github.com/atria-soft/elog.git + - git clone https://github.com/atria-soft/etk.git + - git clone https://github.com/atria-soft/ememory.git - git clone https://github.com/generic-library/gtest-lutin.git --recursive - git clone https://github.com/generic-library/z-lutin.git --recursive - pwd @@ -63,14 +65,14 @@ before_script: - ./ci/build_send.py --tag=$TAG --status=START; script: - - lutin -w -j4 -C -P -t$TARGET -c $BUILDER $COMPILATOR_OPTION $BUS -m $CONF $GCOV $DISABLE_PACKAGE esignal-*; STATUS=$? + - lutin -w -j4 -C -P -t $TARGET -c $BUILDER $COMPILATOR_OPTION $BUS -m $CONF $GCOV $DISABLE_PACKAGE esignal-*; STATUS=$? - ./ci/build_send.py --tag=$TAG --status="$STATUS"; after_script: - if [ "$GCOV" != "" ]; then ./ci/warning_send.py --find-path ./out/Linux_x86_64/$CONF/build/$BUILDER/esignal/; fi - - lutin -w -j4 -C -P -t$TARGET -c $BUILDER $COMPILATOR_OPTION $BUS -m $CONF $GCOV $DISABLE_PACKAGE esignal-test?run:--elog-level=3 | tee out_test.txt + - ./out/Linux_x86_64/$CONF/staging/$BUILDER/esignal-test/esignal-test.app/bin/esignal-test --elog-level=3 | tee out_test.txt - if [ "$GCOV" != "" ]; then ./ci/test_send.py --file=out_test.txt; lutin -C -P -t $TARGET -c $BUILDER $COMPILATOR_OPTION $BUS -m $CONF -p esignal?gcov; diff --git a/README.md b/README.md index bf4c1ec..bb212bc 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ e-signal ======== -`esignal` is c++ svg image parser and renderer. +`esignal` is c++ simple direct signal manager. Release (master) ---------------- @@ -49,6 +49,8 @@ download the software: mkdir WORKING_DIRECTORY cd WORKING_DIRECTORY git clone https://github.com/atria-soft/etk.git + git clone https://github.com/atria-soft/elog.git + git clone https://github.com/atria-soft/ememory.git git clone https://github.com/atria-soft/esignal.git git clone https://github.com/generic-library/gtest-lutin.git --recursive git clone https://github.com/generic-library/z-lutin.git --recursive @@ -57,7 +59,7 @@ Compile software: ----------------- cd WORKING_DIRECTORY - lutin -C -P esignal-test + lutin -C -P esignal-test esignal-sample License (APACHE v2.0)