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 19c0ebc commit 8c2af51Copy full SHA for 8c2af51
.travis.yml
@@ -0,0 +1,17 @@
1
+language: python
2
+
3
+# Disable auto-cloning and ...
4
+git:
5
+ clone: false
6
7
+# ... instead manually fetch and checkout the pull request source branch, which
8
+# is expected by check_release.py
9
+# https://help.github.com/en/github/collaborating-with-issues-and-pull-requests/checking-out-pull-requests-locally
10
+install:
11
+ - git clone --depth=50 https://github.com/${TRAVIS_REPO_SLUG}.git ${TRAVIS_REPO_SLUG}
12
+ - cd ${TRAVIS_REPO_SLUG}
13
+ - git fetch origin pull/${TRAVIS_PULL_REQUEST}/head:${TRAVIS_PULL_REQUEST_BRANCH}
14
+ - git checkout -qf ${TRAVIS_PULL_REQUEST_BRANCH}
15
16
+script:
17
+ - python check_release.py
0 commit comments