Skip to content

Commit 030011a

Browse files
author
Antoine Aubry
committed
Fix PR builds on Travis
1 parent eee32fd commit 030011a

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

.travis.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,11 +19,10 @@ install:
1919
#
2020
- if [ "$TRAVIS_PULL_REQUEST" == "false" ]; then
2121
git checkout $TRAVIS_BRANCH;
22+
git reset $TRAVIS_COMMIT --hard;
2223
else
2324
git checkout -b $TRAVIS_PULL_REQUEST_BRANCH > /dev/null;
2425
fi
25-
- git reset $TRAVIS_COMMIT --hard
26-
- git status
2726
- docker pull aaubry/yamldotnet
2827

2928
script:

0 commit comments

Comments
 (0)