We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 74339e8 commit b7fad46Copy full SHA for b7fad46
.travis.yml
@@ -4,18 +4,9 @@ sudo: false
4
# Want 'bash' but 'c' works:
5
language: c
6
7
-branches:
8
- only:
9
- - master
10
- - /^release\//
11
-
12
script:
13
-- git checkout $(
14
- git branch --contains HEAD
15
- | cut -c3-
16
- | grep -E '^(master$|release)'
17
- | head -1
18
- )
+# NOTE: we have to make sure we're on a branch (rather than on a detached HEAD) because tests rely on it.
+- git checkout -b travis-ci-dummy-branch-name
19
- GIT_COMMITTER_NAME=Bob
20
[email protected]
21
GIT_AUTHOR_NAME='Bob Blob'
0 commit comments