forked from professor/whiteboard
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
34 lines (26 loc) · 1.37 KB
/
.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
language: ruby
rvm: 1.9.3
before_install:
- "export DISPLAY=:99.0"
- "sh -e /etc/init.d/xvfb start"
before_script:
- "psql -c 'create database cmu_education_test;' -U postgres >/dev/null"
- cp config/database.default.yml config/database.yml
- bundle exec rake db:schema:load RAILS_ENV='test' --trace
- echo "hello"
- mkdir tmpdir
script:
- bundle exec rspec spec_no_rails/
- bundle exec rake --verbose --trace
# - bundle exec rake jasmine:ci
env:
- LDAP_HOST="127.0.0.1" LDAP_PORT=3897 LDAP_USERNAME=anyone LDAP_PASSWORD=anysecret LDAP_ENCRYPTED=false WHITEBOARD_SEARCHIFY_API_URL=foo WHITEBOARD_SEARCHIFY_INDEX=cmux_test WHITEBOARD_SEARCHIFY_STAFF_INDEX=cmu_staffx_test WHITEBOARD_SALT=I_am_salt_with_no_iodine TMPDIR=tmpdir [email protected] WHITEBOARD_GOOGLE_PASSWORD=replaceKCzqxP WHITEBOARD_GOOGLE_DOMAIN=sandbox.sv.cmu.edu WHITEBOARD_S3_BUCKET=some_random_placeholder WHITEBOARD_S3_KEY=so_that_travis_will_work WHITEBOARD_S3_SECRET=cmusv-travis WHITEBOARD_TWIKI_USERNAME=none WHITEBOARD_TWIKI_PASSWORD=whatever WHITEBOARD_TWIKI_URL=http://info.sv.cmu.edu
notifications:
email:
recipients:
# on_success: [always|never|change] # default: change
# on_failure: [always|never|change] # default: always
on_success: change
on_failure: always