| 1 |
#!/bin/shscip-shell filesystem . . `/bin/sh`. |
| 2 |
|
| 3 |
# use real branch name instead of detached HEAD |
| 4 |
# unless the job is created for a GitHub Pull Request |
| 5 |
if [scip-shell system . . `[`. "$TRAVIS_PULL_REQUEST_BRANCH" = "" ] |
| 6 |
then |
| 7 |
gitscip-shell system . . git. checkout $TRAVIS_BRANCH |
| 8 |
fi |