Add a script/cibuild script to control the build

I don't really enjoy doing inline shell scripting in .travis.yml
This commit is contained in:
Matt Rogers 2018-01-03 11:46:07 -06:00
parent e75cfd6ee8
commit c53a5ad1f2
2 changed files with 9 additions and 1 deletions

8
script/cibuild Executable file
View file

@ -0,0 +1,8 @@
#!/usr/bin/env bash
if [[ "$DATABASE_URL" == 'mysql*' ]]
then
bundle exec rake ci:full
else
bundle exec rake ci:lite
fi