2015-02-18 16:52:28 +01:00
|
|
|
language: cpp
|
2015-04-08 17:02:07 +02:00
|
|
|
sudo: required
|
2015-02-18 16:52:28 +01:00
|
|
|
compiler:
|
|
|
|
- gcc
|
|
|
|
before_install:
|
2015-02-19 18:27:50 +01:00
|
|
|
- wget https://raw.githubusercontent.com/smessmer/travis-utils/master/update_gcc_version.sh
|
2015-02-20 20:44:07 +01:00
|
|
|
&& chmod +x update_gcc_version.sh
|
|
|
|
&& ./update_gcc_version.sh 4.9
|
|
|
|
&& rm update_gcc_version.sh
|
2015-02-18 16:52:28 +01:00
|
|
|
before_script:
|
2015-03-12 15:02:14 +01:00
|
|
|
- wget https://raw.githubusercontent.com/smessmer/travis-utils/master/setup_biicode_project.sh
|
|
|
|
&& chmod +x setup_biicode_project.sh
|
|
|
|
&& ./setup_biicode_project.sh
|
|
|
|
&& rm setup_biicode_project.sh
|
2015-02-18 16:52:28 +01:00
|
|
|
script:
|
2015-03-13 17:51:50 +01:00
|
|
|
- bii cpp:build --target messmer_cpp-utils_test_main -- -j2
|
2015-03-12 15:02:14 +01:00
|
|
|
- "./bin/messmer_cpp-utils_test_main"
|
2015-04-08 17:20:19 +02:00
|
|
|
after_success:
|
|
|
|
- bii user ${BII_USERNAME} -p ${BII_PASSWORD}
|
|
|
|
- bii publish
|
|
|
|
#deploy:
|
|
|
|
# provider: biicode
|
|
|
|
# user: ${BII_USERNAME}
|
|
|
|
# password:
|
|
|
|
# secure: ${BII_PASSWORD}
|
|
|
|
# on:
|
|
|
|
# branch: develop
|