--- /dev/null
+language: ruby
+
+rvm:
+ - 1.9.3
+ - 2.0
+ - 2.2
+
+script:
+ - bundle exec rubocop
+ - bundle exec ruby -rminitest/autorun -Ilib:test -e 'Dir.glob "./test/*_test.rb", &method(:require)'
+++ /dev/null
-all: run
-
-run: fetch
- bundle exec rackup
-
-check: lint test
-
-fetch: Gemfile.lock
-
-lint:
- rubocop
-
-test:
- ruby -rminitest/autorun -Ilib:test -e 'Dir.glob "./test/*_test.rb", &method(:require)'
-
-clean:
- rm -fv Gemfile.lock
-
-Gemfile.lock:
- bundle install
-
-.PHONY: all check clean fetch lint test run
oneuser create nowadmin --driver server_cipher 'the-best-strongest-password-ever'
oneuser chgrp nowadmin oneadmin
-At NOW host (configration `/etc/now.yaml`):
+At NOW host (configuration `/etc/now.yaml`):
opennebula:
admin_user: 'nowadmin'
## Development
-Using `make`:
-
- make check
- make run
-
-Or directly:
-
bundle install
- bundle exec rubocop
bundle exec rackup
+
+### Testing
+
+See *.travis.yml*.