Sha256: ba0f7bb421ab3b16fd1c53e67eab875a1fdeeb5d3cb4ba74ebbc758a8f049906

Contents?: true

Size: 747 Bytes

Versions: 6

Compression:

Stored size: 747 Bytes

Contents

#!/bin/bash

set -e
if [ -z $1 ]; then
  echo "[bin/ci] Running with default warnings"
  export RUBYOPT=
else
  if [ $1 == 'warnings' ]; then
    echo "[bin/ci] Running with all warnings on"
    export RUBYOPT=-w
  else
    if [ $1 == 'none' ]; then
      echo "[bin/ci] Running with all warnings off"
      export RUBYOPT='-W0'
    else
      echo "[bin/ci] '$1' is not a supported option"
      echo "[bin/ci] usage: $0          # run with default warnings"
      echo "[bin/ci] usage: $0 warnings # run with all warnings"
      echo "[bin/ci] usage: $0 none     # run with warnings disabled"
      exit 1
    fi
  fi
fi

echo "[bin/ci] Running unit tests"
bin/rake test:unit

echo "[bin/ci] Running integration tests"
bin/rake test:integration

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
gli-2.21.3 bin/ci
gli-2.21.2 bin/ci
gli-2.21.1 bin/ci
gli-2.21.0 bin/ci
gli-2.20.1 bin/ci
gli-2.20.0 bin/ci