Only install.sh has any bashisms left. However, the bug which prevented it from running on most systems (using /bin/bash directly) has been fixed.
13 lines
397 B
Bash
Executable file
13 lines
397 B
Bash
Executable file
#!/bin/sh
|
|
|
|
|
|
# Create a database.yml for the right database
|
|
echo "Setting up database.yml for $DB"
|
|
cp config/database.yml.example config/database.yml
|
|
if [ "$DB" = "postgres" ]; then
|
|
sed -i 's/*choose/*postgres_travis/' config/database.yml
|
|
fi
|
|
|
|
command="bundle exec rake --trace ci:travis:${BUILD_TYPE}"
|
|
|
|
exec xvfb-run --auto-servernum --server-num=1 --server-args="-screen 0 1280x1024x8" $command
|