notifications:
  email: false
  irc:
    channels:
      - "irc.mysociety.org#fixmystreet"
    use_notice: true
    skip_join: true

language: perl
perl:
  - "5.14"

before_install:
  - sudo apt-get update -qq
  - sudo apt-get install -qq jhead libgmp-dev
# A couple of other modules that normally come from packages, but no system stuff here
  - cpanm -q Carton Locale::gettext Math::BigInt::GMP
  - sudo locale-gen cy_GB.UTF-8 en_GB.UTF-8 nb_NO.UTF-8 de_CH.UTF-8
install:
  - carton install --deployment
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/make_emptyhomes_welsh_po
  - commonlib/bin/gettext-makemo FixMyStreet
script: "bin/cron-wrapper perl /usr/bin/prove -rl t"


notifications:
  email: false
  irc:
    channels:
      - "irc.mysociety.org#fixmystreet"
    use_notice: true
    skip_join: true

language: perl
perl:
  - "5.14"

before_install:
  - sudo apt-get update -qq
  - sudo apt-get install -qq jhead libgmp-dev
# A couple of other modules that normally come from packages, but no system stuff here
  - cpanm -q Carton 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:
  - carton install --deployment
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/make_emptyhomes_welsh_po
  - commonlib/bin/gettext-makemo FixMyStreet
script: "bin/cron-wrapper perl /usr/bin/prove -rl t"


Add sv_SE to Travis so test using it passes.
Add sv_SE to Travis so test using it passes.
