update edge docs when changes are made to jasmine
This commit is contained in:
@@ -1,3 +1,18 @@
|
||||
#!/bin/bash -e
|
||||
|
||||
git clone https://github.com/jasmine/jasmine.github.io.git
|
||||
|
||||
bundle exec rake jasmine:ci JASMINE_CONFIG_PATH=jasmine.github.io/2.0/spec/support/jasmine.yml
|
||||
mkdir -p jasmine.github.io/edge/lib
|
||||
cp lib/jasmine-core/{boot.js,jasmine-html.js,jasmine.js,jasmine.css} jasmine.github.io/edge/lib/
|
||||
cp lib/console/console.js jasmine.github.io/edge/lib/
|
||||
|
||||
cd jasmine.github.io
|
||||
export JASMINE_VERSION=edge
|
||||
CODE=`bundle exec rake phantom`
|
||||
|
||||
if [ $TRAVIS_PULL_REQUEST == false ]
|
||||
then
|
||||
git push origin master
|
||||
fi
|
||||
|
||||
exit $CODE
|
||||
|
||||
Reference in New Issue
Block a user