moar travis

pull/264/head
connor rigby 2017-03-06 08:17:04 -08:00
parent 2118e8e10e
commit ae23a4b5fe
3 changed files with 7 additions and 1 deletions

1
.gitignore vendored
View File

@ -33,3 +33,4 @@ Makefile.bac
_images
Makefile
release-*

View File

@ -27,7 +27,9 @@ deploy:
provider: releases
api_key:
secure: QDrtyp9BGdOUVsZoTSMOplLCs/ySFguoHFoVi5jLzdEGnrXG8Xcds/2mVb3hJYetu//oaAgYHoOvOk61zuafXFXIh2uyPBBDt0Pt6YoN7/LQ1GFypGXDxKhMKnIjimx5HhqXXtzVz2GDpcbiIMRkvU1oE9gg8lLpoXa6Q1eDTNc=
file_glob: true
file: release-latest/*
skip_cleanup: true
on:
branch: staging
repo: FarmBot/farmbot_os

View File

@ -1,4 +1,7 @@
#!/bin/bash
export MIX_ENV=test
mix deps.get
mix travis_test
mix travis_test || { echo 'Tests failed!' ; exit 1; }
if [[ "$`TRAVIS_BRANCH`" == "staging" ]]; then
make release
fi