- bundle install
before_script:
- echo -e "Host github.com\n\tStrictHostKeyChecking no\n" >> ~/.ssh/config
- - git config --global user.email "mark@zurb.com"
- - git config --global user.name "mhayes"
+ - git config --global user.email "arthur@zurb.com"
+ - git config --global user.name "arthurzurb"
- bower install
script: ./run-tests.sh
after_success:
- - git clone https://mhayes:${GH_TOKEN}@github.com/zurb/bower-foundation.git
+ - git clone https://arthurzurb:${GH_TOKEN}@github.com/zurb/bower-foundation.git
- rm -rf bower-foundation/*
- cp -r dist/assets/* bower-foundation/
- cd bower-foundation
- git remote rm origin
- - git remote add origin https://mhayes:${GH_TOKEN}@github.com/zurb/bower-foundation.git
+ - git remote add origin https://arthurzurb:${GH_TOKEN}@github.com/zurb/bower-foundation.git
- git add -A
- FOUNDATION_VER=$(git diff bower.json | grep version | cut -d':' -f2 | cut -d'"' -f2 | sort -g -r | head -1) && if [ $(echo $FOUNDATION_VER | wc -m | tr -d ' ') = '1' ]; then echo 'VERSION DID NOT CHANGE'; else git tag -a $FOUNDATION_VER -m "Version $FOUNDATION_VER"; fi
- git commit -m "Foundation build to bower-foundation"