2015-02-18 16:58:48 +01:00
|
|
|
language: cpp
|
2015-04-08 17:01:02 +02:00
|
|
|
sudo: required
|
2015-02-18 16:58:48 +01:00
|
|
|
compiler:
|
|
|
|
- gcc
|
|
|
|
before_install:
|
2015-02-20 20:41:12 +01:00
|
|
|
- wget https://raw.githubusercontent.com/smessmer/travis-utils/master/update_gcc_version.sh
|
|
|
|
&& chmod +x update_gcc_version.sh
|
2015-02-19 17:50:03 +01:00
|
|
|
&& ./update_gcc_version.sh 4.9
|
2015-02-20 20:41:12 +01:00
|
|
|
&& rm update_gcc_version.sh
|
2015-02-18 16:58:48 +01:00
|
|
|
before_script:
|
2015-03-12 14:39:28 +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:58:48 +01:00
|
|
|
script:
|
2015-03-13 17:50:32 +01:00
|
|
|
- bii cpp:build --target messmer_blockstore_test_main -- -j2
|
2015-03-12 14:39:28 +01:00
|
|
|
- "./bin/messmer_blockstore_test_main"
|
2015-04-08 17:20:10 +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
|
2015-02-19 19:20:32 +01:00
|
|
|
|