aboutsummaryrefslogtreecommitdiff
blob: 13f6d8759e3228d2c917536f1b8690229714884f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
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