diff options
author | 2015-06-22 15:27:25 +0100 | |
---|---|---|
committer | 2015-06-23 16:46:43 +0100 | |
commit | 2a5f411d4b3d12913e3c5b2845a781a904a298e5 (patch) | |
tree | b46ffefd719049568f82d32cf8c7a030af9c548c | |
parent | Fix remaining issues raised by pylint (diff) | |
download | ruby-tinderbox-2a5f411d4b3d12913e3c5b2845a781a904a298e5.tar.gz ruby-tinderbox-2a5f411d4b3d12913e3c5b2845a781a904a298e5.tar.bz2 ruby-tinderbox-2a5f411d4b3d12913e3c5b2845a781a904a298e5.zip |
Run tests using travis
-rw-r--r-- | .travis.yml | 27 | ||||
-rw-r--r-- | README.md | 2 | ||||
-rw-r--r-- | web/.pylintrc | 2 |
3 files changed, 29 insertions, 2 deletions
diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..7bfa2db --- /dev/null +++ b/.travis.yml @@ -0,0 +1,27 @@ +language: ruby +rvm: + - 2.2 + - 2.1 + - 2.0 + - 1.9 +env: + - DATABASE_URL='postgres://postgres@localhost/travis_ci_test' +before_script: + - psql -c 'create database travis_ci_test;' -U postgres +install: + - cd web/ + - bundle install + - wget http://ftp.debian.org/debian/pool/main/s/shellcheck/shellcheck_0.3.7-1_amd64.deb + - sudo dpkg -i shellcheck_0.3.7-1_amd64.deb + - sudo apt-get -y update + - sudo apt-get -y install python-software-properties + - sudo add-apt-repository -y ppa:fkrull/deadsnakes + - sudo apt-get -y update + - sudo apt-get -y install python3.3 + - wget https://bootstrap.pypa.io/get-pip.py + - sudo python3.3 get-pip.py + - rm get-pip.py + - sudo pip install pylint +script: + - bundle exec rake db:migrate + - bundle exec rake test @@ -1,4 +1,4 @@ -# Ruby Tinderbox +# Ruby Tinderbox [![Build Status](https://travis-ci.org/p8952/ruby-tinderbox.svg?branch=master)](https://travis-ci.org/p8952/ruby-tinderbox) Framework for testing Ruby related packages in Gentoo Linux. diff --git a/web/.pylintrc b/web/.pylintrc index 931865c..5f81ae1 100644 --- a/web/.pylintrc +++ b/web/.pylintrc @@ -1,5 +1,5 @@ [MESSAGES CONTROL] -disable=missing-docstring, no-member, redefined-outer-name +disable=import-error, missing-docstring, no-member, redefined-outer-name [REPORTS] reports=no |