File: test

package info (click to toggle)
ruby-flipper 0.26.2-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 2,288 kB
  • sloc: ruby: 16,377; sh: 61; javascript: 24; makefile: 14
file content (33 lines) | stat: -rwxr-xr-x 630 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
#!/bin/sh
#/ Usage: test
#/
#/ Bootstrap and run all tests.
#/

set -e
cd $(dirname "$0")/..

[ "$1" = "--help" -o "$1" = "-h" -o "$1" = "help" ] && {
    grep '^#/' <"$0"| cut -c4-
    exit 0
}

export RAILS_VERSION=5.0.0
export SQLITE3_VERSION=1.3.11
script/bootstrap || bundle update
bundle exec rake

export RAILS_VERSION=5.1.4
export SQLITE3_VERSION=1.3.11
script/bootstrap || bundle update
bundle exec rake

export RAILS_VERSION=5.2.3
export SQLITE3_VERSION=1.3.11
script/bootstrap || bundle update
bundle exec rake

export RAILS_VERSION=6.0.0
export SQLITE3_VERSION=1.4.1
script/bootstrap || bundle update
bundle exec rake