mirror of
https://github.com/TracksApp/tracks.git
synced 2026-01-03 15:58:50 +01:00
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:
parent
e75cfd6ee8
commit
c53a5ad1f2
2 changed files with 9 additions and 1 deletions
8
script/cibuild
Executable file
8
script/cibuild
Executable 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
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue