Merge branch 'stable'
This commit is contained in:
		
						commit
						adeb387a45
					
				|  | @ -9,12 +9,20 @@ addons: | ||||||
|       - xsltproc |       - xsltproc | ||||||
| otp_release: | otp_release: | ||||||
|   - "18.3" |   - "18.3" | ||||||
|  |   - "19.0" | ||||||
| 
 | 
 | ||||||
| # The checkout made by Travis is a "detached HEAD". We switch back | # The checkout made by Travis is a "detached HEAD" and branches | ||||||
| # to a tag or a branch. This pleases our git_rmq fetch method in | # information is missing. Our Erlang.mk's git_rmq fetch method relies on | ||||||
| # rabbitmq-components.mk and the proper tag/branch is selected in | # it, so we need to restore it. | ||||||
| # dependencies too. | # | ||||||
| before_script: (test "$TRAVIS_TAG" && git checkout "$TRAVIS_TAG") || (test "$TRAVIS_BRANCH" && git checkout "$TRAVIS_BRANCH") | # We simply fetch master and, if it exists, stable branches. A branch is | ||||||
|  | # created, pointing to the detached HEAD. | ||||||
|  | before_script: | ||||||
|  |   - | | ||||||
|  |     git checkout -B "${TRAVIS_TAG:-${TRAVIS_BRANCH}}" | ||||||
|  |     git remote add upstream https://github.com/$TRAVIS_REPO_SLUG.git | ||||||
|  |     git fetch upstream stable:stable || : | ||||||
|  |     git fetch upstream master:master || : | ||||||
| 
 | 
 | ||||||
| script: make tests | script: make tests | ||||||
| 
 | 
 | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue