forked from collective/collective.jekyll
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
40 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,22 @@ | ||
after_success: | ||
- coveralls | ||
install: | ||
- pip install coveralls | ||
- pip install --upgrade setuptools==0.9.8 | ||
- pip install distribute | ||
- make bin/test | ||
env: | ||
global: | ||
secure: aeJaNydBzTcyBwbbluHDvs8vmryEpwaSFYD+SvTlD2e341Ilye+vxKR2/fT56OYLONEvFXkc5K1maw4caJqaxAfjlfO80Id3FsIO3f/AM/zTl3SERHd//y8CaaokL9vaxqNRjUHRMrpJZQpTFKW8V7HMnK88ulQF8nuM1gaQU/Q= | ||
language: python | ||
python: | ||
- 2.6 | ||
before_install: | ||
- sudo apt-get install libpcre3-dev | ||
install: | ||
- pip install coveralls | ||
- pip install --upgrade setuptools==0.9.8 | ||
- pip install distribute | ||
- make bin/test | ||
before_script: | ||
- "export DISPLAY=:99.0" | ||
- "sh -e /etc/init.d/xvfb start" | ||
before_script: | ||
- export DISPLAY=:99.0 | ||
- sh -e /etc/init.d/xvfb start | ||
before_install: | ||
- sudo apt-get install libpcre3-dev | ||
python: | ||
- 2.6 | ||
after_script: | ||
- .update-gh-pages.sh | ||
script: | ||
- make coverage | ||
after_success: | ||
- coveralls | ||
- make coverage |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
if [ "$TRAVIS_PULL_REQUEST" == "false" ]; then | ||
echo -e "Starting to update gh-pages\n" | ||
|
||
cd $HOME | ||
mkdir $TRAVIS_BUILD_NUMBER | ||
cp -R parts/test $HOME/$TRAVIS_BUILD_NUMBER | ||
|
||
git config --global user.email "[email protected]" | ||
git config --global user.name "Travis" | ||
git clone --quiet --branch=gh-pages https://${GH_TOKEN}@github.com/gotcha/collective.jekyll.git gh-pages > /dev/null | ||
|
||
cd gh-pages | ||
cp -Rf $HOME/$TRAVIS_BUILD_NUMBER . | ||
|
||
git add -f . | ||
git commit -m "Travis build $TRAVIS_BUILD_NUMBER pushed to gh-pages" | ||
git push -fq origin gh-pages > /dev/null | ||
|
||
echo -e "Done magic with robot_reports\n" | ||
fi |