Migrate from wercker to travis

This commit is contained in:
Takashi Kokubun 2015-03-30 20:46:55 +09:00
parent 1a9790b501
commit 35920d8bf8
3 changed files with 8 additions and 36 deletions

7
.travis.yml Normal file
View File

@ -0,0 +1,7 @@
language: ruby
sudo: false
cache: bundler
script:
- "bundle exec rake spec"
- "bundle exec rake rails:spec"
- "TIME=10 bundle exec rake bench"

View File

@ -1,4 +1,4 @@
# Hamlit [![wercker status](https://app.wercker.com/status/363b10d161203c26517faa3a9a329ed8/s "wercker status")](https://app.wercker.com/project/bykey/363b10d161203c26517faa3a9a329ed8)
# Hamlit
Hamlit is a high performance [haml](https://github.com/haml/haml) implementation.

View File

@ -1,35 +0,0 @@
box: wercker/rvm
# Build definition
build:
# The steps that will be executed on build
# See the Ruby section on the wercker devcenter:
# http://devcenter.wercker.com/articles/languages/ruby.html
steps:
# Uncomment this to force RVM to use a specific Ruby version
- rvm-use:
version: 2.2.1
# A step that executes `bundle install` command
- bundle-install
# A custom script step, name value is used in the UI
# and the code value contains the command that get executed
- script:
name: echo ruby information
code: |
echo "ruby version $(ruby --version) running"
echo "from location $(which ruby)"
echo -p "gem list: $(gem list)"
# Add more steps here:
- script:
name: hamlit spec
code: bundle exec rake spec
- script:
name: rails integration spec
code: bundle exec rake rails:spec
- script:
name: run benchmarks
code: TIME=10 bundle exec rake bench