Commit 0901e413 by Mislav Marohnić

Merge branch 'fast-travis'

parents 3851f4d7 fc5e392a
sudo: false
install: git clone --depth 1 https://github.com/sstephenson/bats.git
script: script/test
script: PATH="./bats/bin:$PATH" script/test
language: c
notifications:
email:
......
#!/usr/bin/env bash
set -e
[ -d ./bats/bin ] && export PATH=./bats/bin:"$PATH"
STATUS=0
bats -t test || STATUS="$?"
bats ${CI:+--tap} test || STATUS="$?"
if [ "${TRAVIS_PULL_REQUEST:-false}" != "false" ] && [ -z "$TRAVIS_COMMIT_RANGE" ]; then
first_sha="$(curl -fsSL https://github.com/${TRAVIS_REPO_SLUG}/pull/${TRAVIS_PULL_REQUEST}.patch | head -1 | awk '{print $2}')"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment