Have Travis Get additional information from the git repository
Travis builds from a detached head. We need to use the current branch so that versioning works properly
This commit is contained in:
parent
bb44fe17cf
commit
bf629cf7b1
1 changed files with 5 additions and 2 deletions
|
@ -2,7 +2,10 @@
|
|||
language: c
|
||||
|
||||
before_install:
|
||||
- pwd
|
||||
# Travis runs a detached head. We need to find the current branch
|
||||
- git checkout `git branch --contains HEAD | grep -v '*'`
|
||||
# Also tags for the root(s) of the minor version(s)
|
||||
- git fetch origin --tags
|
||||
- mkdir ~/bin
|
||||
- wget https://bootstrap.pypa.io/get-pip.py
|
||||
- wget https://bintray.com/artifact/download/olikraus/u8glib/u8glib_arduino_v1.17.zip
|
||||
|
|
Reference in a new issue