forked from coletivoEITA/noosfero-ecosol
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
36 lines (31 loc) · 895 Bytes
/
.travis.yml
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
28
29
30
31
32
33
34
35
36
notifications:
email:
language: ruby
rvm:
- ree
before_install:
# dependencies
- gem update --system 1.4.1
- sudo apt-get -y install po4a iso-codes tango-icon-theme openjdk-6-jre curl wget
- sudo apt-get -y install libmagickwand-dev libpq-dev libreadline-dev libsqlite3-dev libxslt1-dev
# postgres setup
- psql -c 'create database myapp_test;' -U postgres
# selenium support
- export DISPLAY=:99.0
- sh -e /etc/init.d/xvfb start
before_script:
- mkdir -p tmp/pids log
- cp config/database.yml.travis config/database.yml
- bundle exec rake db:schema:load --trace
#- bundle exec script/noosfero-plugins enableall
#- bundle exec rake db:migrate --trace
env:
- TASK=test:units
- TASK=test:functionals
- TASK=test:integration
- TASK=cucumber
- TASK=selenium
- TASK=test:noosfero_plugins
script:
- bundle exec rake $TASK --trace