Loading .travis.yml +1 −1 Original line number Diff line number Diff line sudo: false install: git clone --depth 1 https://github.com/sstephenson/bats.git script: PATH="./bats/bin:$PATH" script/test script: PATH="./bats/bin:$PATH" script/travis language: c notifications: email: Loading script/test +1 −7 Original line number Diff line number Diff line Loading @@ -5,13 +5,7 @@ set -x STATUS=0 bats ${CI:+--tap} test || STATUS="$?" if [ -n "$TRAVIS_COMMIT_RANGE" ]; then COMMIT_RANGE="$TRAVIS_COMMIT_RANGE" fi if [ "$TRAVIS_SECURE_ENV_VARS" = "true" ]; then ./script/mirror update "$COMMIT_RANGE" elif [ "${TRAVIS_PULL_REQUEST:-false}" != "false" ] || [ "$GITHUB_EVENT_NAME" = "pull_request" ]; then if [ "$GITHUB_EVENT_NAME" = "pull_request" ]; then ./script/mirror verify "$COMMIT_RANGE" fi Loading script/travis 0 → 100755 +7 −0 Original line number Diff line number Diff line #!/usr/bin/env bash set -e set -x if [ "$TRAVIS_SECURE_ENV_VARS" = "true" ]; then ./script/mirror update "$TRAVIS_COMMIT_RANGE" fi Loading
.travis.yml +1 −1 Original line number Diff line number Diff line sudo: false install: git clone --depth 1 https://github.com/sstephenson/bats.git script: PATH="./bats/bin:$PATH" script/test script: PATH="./bats/bin:$PATH" script/travis language: c notifications: email: Loading
script/test +1 −7 Original line number Diff line number Diff line Loading @@ -5,13 +5,7 @@ set -x STATUS=0 bats ${CI:+--tap} test || STATUS="$?" if [ -n "$TRAVIS_COMMIT_RANGE" ]; then COMMIT_RANGE="$TRAVIS_COMMIT_RANGE" fi if [ "$TRAVIS_SECURE_ENV_VARS" = "true" ]; then ./script/mirror update "$COMMIT_RANGE" elif [ "${TRAVIS_PULL_REQUEST:-false}" != "false" ] || [ "$GITHUB_EVENT_NAME" = "pull_request" ]; then if [ "$GITHUB_EVENT_NAME" = "pull_request" ]; then ./script/mirror verify "$COMMIT_RANGE" fi Loading
script/travis 0 → 100755 +7 −0 Original line number Diff line number Diff line #!/usr/bin/env bash set -e set -x if [ "$TRAVIS_SECURE_ENV_VARS" = "true" ]; then ./script/mirror update "$TRAVIS_COMMIT_RANGE" fi