travis ci testing
This commit is contained in:
parent
771bb4865e
commit
b7ae8f6614
|
|
@ -21,15 +21,17 @@ generate_website_index() {
|
||||||
git commit --message "Travis build: $TRAVIS_BUILD_NUMBER"
|
git commit --message "Travis build: $TRAVIS_BUILD_NUMBER"
|
||||||
}
|
}
|
||||||
commit_website_files() {
|
commit_website_files() {
|
||||||
|
git status
|
||||||
|
git log
|
||||||
BRANCH=`git symbolic-ref --short -q HEAD`
|
BRANCH=`git symbolic-ref --short -q HEAD`
|
||||||
VERSION=`cat RX_FSK/version.h | tail -1 | egrep -o '".*"' | sed 's/"//g' | sed 's/ /_/g'`
|
VERSION=`cat RX_FSK/version.h | tail -1 | egrep -o '".*"' | sed 's/"//g' | sed 's/ /_/g'`
|
||||||
PATH=$PWD
|
MYPATH=$PWD
|
||||||
echo "On branch $BRANCH"
|
echo "On branch $BRANCH"
|
||||||
echo "Version $VERSION"
|
echo "Version $VERSION"
|
||||||
cd /tmp
|
cd /tmp
|
||||||
git clone https://github.com/dl9rdz/rdz_ttgo_sonde.git -b gh-pages
|
git clone https://github.com/dl9rdz/rdz_ttgo_sonde.git -b gh-pages
|
||||||
cd rdz_ttgo_sonde
|
cd rdz_ttgo_sonde
|
||||||
cp ${PWD}/out.bin ${BRANCH}/${VERSION}-full.bin
|
cp ${MYPATH}/out.bin ${BRANCH}/${VERSION}-full.bin
|
||||||
git add ${BRANCH}/${VERSION}-full.bin
|
git add ${BRANCH}/${VERSION}-full.bin
|
||||||
# git commit --message "Travis build: $TRAVIS_BUILD_NUMBER"
|
# git commit --message "Travis build: $TRAVIS_BUILD_NUMBER"
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue