mirror of
https://github.com/ttroy50/cmake-examples.git
synced 2025-12-18 20:24:35 +03:00
have travis build use my docker images
This commit is contained in:
@@ -1,11 +1,13 @@
|
||||
language: cpp
|
||||
services:
|
||||
- docker
|
||||
sudo: required
|
||||
compiler:
|
||||
- gcc
|
||||
before_install:
|
||||
- if [ $TRAVIS_OS_NAME == linux ]; then sudo apt-get update && sudo apt-get install -y cmake libboost-all-dev libprotobuf-dev protobuf-compiler cppcheck ninja-build clang; fi
|
||||
- docker pull matrim/cmake-examples:3.4.3
|
||||
script:
|
||||
- ./test.sh
|
||||
- docker run --rm -v $PWD:/data/code -it matrim/cmake-examples:3.4.3 /data/code/test.sh
|
||||
branches:
|
||||
except:
|
||||
- gh-pages
|
||||
|
||||
Reference in New Issue
Block a user