blob: 1e4b7611fd02d2d7776cbf12096fd2b3b3131c9e (
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
28
29
30
31
32
33
34
35
36
37
38
39
40
|
notifications:
email: false
irc:
channels:
- "irc.mysociety.org#fixmystreet"
use_notice: true
skip_join: true
language: perl
perl:
- "5.14"
env:
global:
- "S3_BUCKET=fixmystreet-bundle-cache"
- secure: "llgWNfR/8pH0HjYpg+xhVxuqTaLC0GGUugfuINiUap7JxzjCZ2rlryxCXA4BCM8GUHa9wlYKhrKCSx+DM3EHRE0cLei7LNxAK1JSXLj3NihFQhqnq64tjDwGCSA4l7mlqErA7DK4Dpmh+hBp5f680akITAInM92CbwQZxLDYaCU="
- secure: "qW+WCgAF68itADxcbcq+nCnKx3vf3GX73HMfjfbkFFUsYmIR+ZaJ9yQMnGJwxIpCHTWLAeqyx4KO8N8T3GmNdKYzIMZemOzp4ED29YC31QOQeq1CwNp2hD5sq/o47d2BzXWwMYNvNXfxz1K6r2c6EMPUtu8X3B8ExZq1RzSFdXs="
before_install:
- sudo apt-get update -qq
- sudo apt-get install -qq jhead libgmp-dev python-boto
# A couple of other modules that normally come from packages, but no system stuff here
- cpanm -q Locale::gettext Math::BigInt::GMP
- sudo locale-gen cy_GB.UTF-8 en_GB.UTF-8 nb_NO.UTF-8 de_CH.UTF-8 sv_SE.UTF-8
install:
- .travis/install
before_script:
- psql -c 'create database fms;' -U postgres
- psql fms postgres < db/schema.sql
- psql fms postgres < db/alert_types.sql
- psql fms postgres < db/generate_secret.sql
- >
sed -r -e "s,(FMS_DB_USER:) 'fms',\\1 'postgres',"
conf/general.yml-example > conf/general.yml
- ./bin/cron-wrapper ./bin/make_po FixMyStreet-EmptyHomes
- ./bin/cron-wrapper ./bin/emptyhomes/make_welsh_po
- commonlib/bin/gettext-makemo FixMyStreet
script: "bin/cron-wrapper perl /usr/bin/prove -rl t"
after_script:
- .travis/after_script
|