-
Notifications
You must be signed in to change notification settings - Fork 6
/
.travis.yml
35 lines (35 loc) · 2.68 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
35
addons:
code_climate:
repo_token: 2bbc15899ab1b0b47c7157a5901bf6b460168b197ac2e0cf4f66a91da5b700bd
language: ruby
rvm:
- 2.2.2
cache: bundler
sudo: false
before_script:
- cp config/database.travis.yml config/database.yml
- psql -c 'create database hpi_swt2_test;' -U postgres
script:
- bundle exec rake db:create db:migrate
- xvfb-run bundle exec rspec spec/
notifications:
email: false
slack:
rooms:
- secure: R5DdA6W4CQMRcEyfJ9aqZAVnxmV6Yo6WMHM8lqgJcYhWZofI3ZWlKEmnyFgLgvSSOKVHIjQkmS3PHFaEhKz90dVwfI5y9nj/ZnAwoGjC/OIXPskt/XnTBQAjK5HZSdbOstdCkotIfkMnfNFhSlWLZoLCYDtf3tj/Fau1SQan/KXdmqEWt2mWzfZ1NqOIH0A07oEgtNAkMQJs4DyTBIx06pjbuLEGia6e5cyOfW0HDbAIgqPamhM2a6VmFBGXv0bAHm8penV/cenKKFUk7a4qBUc8aagP51aBSeQdNeQ7uVLTs+IOswXydfzzGQQFRGf/9BFYdX09QJYGc89ChJgYIqPNCr6tKPVkpjzZaOm159gbNL7B2Rwpq0RlOuuZ6ZerVOtraW89Y2Sba3w1Dka/2bcVUAkCtxqYW1tJ1W7km363IhZOUhDFpU+EDAbKWYwaCWauoRPAjNQVhp8AMeKvXHTiWjeiiOpILCDsSqrmGr5/o1fG8Dbj+si33xtg6+CwOZ/HTAWq4jIv+e+8lCA+h5w9K49V1CCl0gxGtU6DCMN6NcH5z72EC7kZfd8X1yq91mX1SIw9liloAeTnrvchX34ckVWB2lJsuDUD2z3BSj3I8qrVAhpmqmkHlp/0eGS0MuJyIbe2RXAfaA47V3qR6ut8JcXHtX6f69V2cvxTu98=
- secure: K11ATxX62urMsLl3X5HAdqhgR6Ed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q86Qy1wydGWvMQyW61i4XPeTqHlNaylxwpdn3gtrwytGYnEHOxnoCd3G4tW+sGDiQ9miTjoGzg8jbwmvxASlUrCe4wIZESf2KW0UKYQ/QpNgiAsfkmI7LW3I2Zo8WVmgLGZM/0xRWopPvkp5ecCU9lDi6Npw4HjHBKJObuxQSnnwW+DNI0bTL49li9dU8T1nSw7huHZ0loyzW/XYElumTpHpYk1g6RfklhKeG8Yn9vV0yA530J97dEsXzq34fNjE6GNda2380n9G0EILACkvbeBTdxnyKiW98SixcN8A=
app:
master: wimi-portal
dev: wimi-portal-dev
on:
repo: hpi-swt2/wimi-portal
run:
- rake db:migrate
- rake db:seed
- restart