Skip to content

Commit

Permalink
CELIX-282: Fixed travis setup
Browse files Browse the repository at this point in the history
  • Loading branch information
bpetri committed Nov 6, 2015
1 parent 79f8239 commit e57818b
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,16 +9,22 @@ compiler:
- clang

before_install:
- if [ "$TRAVIS_OS_NAME" = "linux" ]; then sudo apt-get -qq update && sudo apt-get install -y uuid-dev libjansson-dev libxml2-dev lcov libffi-dev; fi
- if [ "$TRAVIS_OS_NAME" = "osx" ]; then brew update && brew install lcov libffi jansson && brew link --force libffi; fi
- if [ "$TRAVIS_OS_NAME" = "linux" ]; then sudo apt-get -qq update && sudo apt-get install -y uuid-dev libxml2-dev lcov libffi-dev; fi
- if [ "$TRAVIS_OS_NAME" = "osx" ]; then brew update && brew install lcov libffi && brew link --force libffi; fi

before_script:
- wget https://github.com/cpputest/cpputest.github.io/blob/master/releases/cpputest-3.7.1.tar.gz?raw=true -O /tmp/cpputest.tar.gz
- tar -xzvf /tmp/cpputest.tar.gz -C /tmp
- if [ "$CC" = "clang" ]; then export CXX="clang++"; fi && cd /tmp/cpputest-3.7.1 && ./configure --prefix=/usr && make && sudo make install && cd -
- cd /tmp/cpputest-3.7.1 && ./configure --prefix=/usr && make && sudo make install && cd -
- git clone https://github.com/akheron/jansson.git jansson-build
- cd jansson-build && git checkout 2.7
- cmake -DJANSSON_BUILD_SHARED_LIBS=ON -DCMAKE_INSTALL_PREFIX=/usr . && make
- sudo make install
- cd -
- mkdir build install


script:
# the following setup is broken:
# RSA_DISCOVERY_SHM is only working on linux, but both compilers (see CELIX-277)
Expand Down

0 comments on commit e57818b

Please sign in to comment.