Travis: Set up releases, reformat

This commit is contained in:
Jack Bond-Preston 2016-08-01 00:20:09 +01:00
parent c70e40b08d
commit e5de9d581e

View File

@ -1,9 +1,7 @@
sudo: required sudo: required
dist: trusty dist: trusty
language: cpp language: cpp
compiler: gcc compiler: gcc
addons: addons:
apt: apt:
sources: sources:
@ -15,10 +13,16 @@ addons:
- libboost1.55-all-dev - libboost1.55-all-dev
- libcurl4-openssl-dev - libcurl4-openssl-dev
- cmake - cmake
install: export CXX="g++-5" CC="gcc-5"; install: export CXX="g++-5" CC="gcc-5";
script: script:
- cd TriviaBot - cd TriviaBot
- cmake . - cmake .
- make - make
deploy:
provider: releases
api_key:
secure: sbZntceUqjyFZ13TlwuU0Jdtfma/jXHprv4z+pYrmuO3/YarKMtwlvM6UniagF2wVcHTFtiBmlbxfSyRfpy+P6XGkpvIJtJFrsMaSAoZpLI6mbSPsPxUCvc1VW3EESGIlWTJ97TZmU3opLjLSQIgYK1NB1+1KtLedVnQy6KCtTFthjupNwDIeSIFyPR31BgL0yQ7owPYZ63koS4U32ABPFxTYUPDbkI+Xq02nrzbn3OGKQY1cXmLJtvaTi+QQARfCFGYNTB4Ngt04LtpzBP5eeyj2P3YslZj9Xyr9PgqDt0uS2I5m/hLWsSLf/ssJ06EIBt2mYIORVV/XcgBw13VUBHawbd6hLfxSmSwhYpTewcjVbU1gE09kYmyVJ+KKKcbJjhWknIRd6z9+rLGwGb+zlgFnR9KFa4VqBSxGzfujwtBJVntaz0QVWb8vNL5U1xz1FyOBUT+6jWbr0L9d8QyK0ivPUbiYXwMQAoAEjjq7VbG985eyrTjxB6oxiWg9W8RveS1Mbb++/NWRSvsIfA1oEPrOgJONiOUP1+1XQ0rFLWpVHw5n4yuWFo6XpbfauCujIA4bNPGPqR0cfHj8QbUK9JDoA1SiOWsburQqUNqo0WHTUvrgut3OaP8jysDKsmoh8/tWeKlc6l5IqKQ4qu28sOQLd8RHcKOToKSfIOwRdA=
file: TriviaBot/TriviaBot
skip_cleanup: true
on:
tags: true