Skip to content
Permalink
Browse files

travis CHANGE add static build

... and some minor updates and fixes.
  • Loading branch information...
michalvasko committed Apr 16, 2019
1 parent 96cb31d commit 731f9c6fefb789e052e80159c09e3d84e606beb8
Showing with 7 additions and 3 deletions.
  1. +7 −3 .travis.yml
@@ -10,6 +10,11 @@ matrix:
dist: trusty
sudo: required
compiler: gcc
- os: linux
dist: trusty
sudo: required
compiler: gcc
env: ENABLE_STATIC=ON
- os: osx
compiler: gcc
allow_failures:
@@ -21,14 +26,13 @@ branches:
- devel

before_install:
- eval "${MATRIX_EVAL}"
- git clone git://git.cryptomilk.org/projects/cmocka.git
- cd cmocka && mkdir build && cd build
- cmake .. && make -j2 && sudo make install
- cd ../..
- if [ "$TRAVIS_OS_NAME" = "osx" ]; then brew update; fi
- if [ "$TRAVIS_OS_NAME" = "linux" ]; then sudo apt-get update -qq; sudo apt-get install -y valgrind osc; sudo dpkg -i ./swig/swig3.0_3.0.12-1.2_amd64.deb; sudo dpkg -i ./swig/swig_3.0.12-1_amd64.deb; fi
- if [ "$TRAVIS_OS_NAME" = "linux" -a "$CC" = "gcc-7" ]; then pip install --user codecov; export CFLAGS="-coverage"; fi
- if [ "$TRAVIS_OS_NAME" = "linux" -a "$CC" = "gcc" ]; then pip install --user codecov; export CFLAGS="-coverage"; fi

script:
- mkdir build && cd build
@@ -38,4 +42,4 @@ script:
- cd -

after_success:
- if [ "$TRAVIS_OS_NAME" = "linux" -a "$CC" = "gcc-7" ]; then codecov; ./packages/create-package.sh; fi
- if [ "$TRAVIS_OS_NAME" = "linux" -a "$CC" = "gcc" ]; then codecov; ./packages/create-package.sh; fi

0 comments on commit 731f9c6

Please sign in to comment.
You can’t perform that action at this time.