abapGit/travis.sh
Lars Hvam 7618cada58 use abapmerge to split abapGit into multiple includes, #210 (#273)
* move source to src folder

* Rename zabapgit.prog.abap to src/zabapgit.prog.abap

* Rename zabapgit.prog.xml to src/zabapgit.prog.xml

* move unit tests to separate include

* add abapmerge

* Update .travis.yml

* add typings

* Update .travis.yml

* test

* Update package.json

* Create travis.sh

* Update .travis.yml

* Update .travis.yml

* travis.sh executable

* Update travis.sh

* Update travis.sh

* test

* Update .travis.yml

* Update travis.sh

* Update travis.sh

* Update travis.sh

* Update travis.sh

* Update .travis.yml

* Update travis.sh

* Update travis.sh

* Update travis.sh

* Update travis.sh

* Update travis.sh

* Update travis.sh

* Update travis.sh

* new token

* use txt instead, allows for easier download
2016-07-02 11:50:22 +02:00

16 lines
558 B
Bash
Executable File

#!/bin/bash
abapmerge src/zabapgit.prog.abap > ../zabapgit.abap
wc -l ../zabapgit.abap
cd ..
git clone https://github.com/larshp/abapGit.git -b gh-pages pages
ls -l
cp zabapgit.abap pages/build/zabapgit$(date -u "+%Y-%m-%d-%H-%M-%S").txt
cp zabapgit.abap pages/build/zabapgit.txt
cd pages
git status
git config --global user.email "builds@travis-ci.com"
git config --global user.name "Travis CI"
git add build/*.txt
git commit -m "Travis build $TRAVIS_BUILD_NUMBER"
git push -q https://$GITHUB_API_KEY@github.com/larshp/abapGit.git gh-pages > /dev/null 2>&1