Martin Fowler, Chief Scientist, ThoughtWorks
said by me, just now
login
service hook
git push
git add .travis.yml
git commit .travis.yml
git push
git add .travis.yml
git commit .travis.yml
service hook
run tests / builds
fresh environments
language: ruby
cache: bundler
sudo: true
rvm:
- 2.0.0
before_install:
- sudo apt-get -qq update
- sudo apt-get install ncftp
- gem install bundler
- gem install html-proofer
script:
- chmod +x scripts/build
- ./scripts/build
after_success:
- chmod +x scripts/deploy
- ./scripts/deploy
env:
global:
- NOKOGIRI_USE_SYSTEM_LIBRARIES=true
# blacklist
branches:
except:
- master
# whitelist
branches:
only:
- scheduled
bundle exec jekyll build
--config _config.yml,_configdev.yml,_configazure.yml
--drafts
ncftp -u "$USERNAME" -p "$PASSWORD" $HOST<<EOF
rm -rf site/wwwroot
mkdir site/wwwroot
quit
EOF
cd _site
rm robots.txt
touch robots.txt
echo -e "# robots.txt" >> robots.txt
echo -e "User-agent: *" >> robots.txt
echo -e "Disallow: /" >> robots.txt
echo -e "Disallow: /cgi-bin/" >> robots.txt
ncftpput -R -v -u "$USERNAME" -p "$PASSWORD" $HOST /site/wwwroot .
htmlproofer ./_site --only-4xx
@digitaldrummerj - digitaldrummerj@gmail.com
http://digitaldrummerj.me