.travis.yml 1.17 KB
Newer Older
1
language: ruby
2

3
rvm:
flaburgan's avatar
flaburgan committed
4
  - 2.4.1
Benjamin Neff's avatar
Benjamin Neff committed
5
  - 2.3.4
Jonne Haß's avatar
Jonne Haß committed
6

7
env:
8
  - DB=postgresql BUILD_TYPE=cucumber
9
  - DB=mysql BUILD_TYPE=cucumber
10 11
  - DB=postgresql BUILD_TYPE=other
  - DB=mysql BUILD_TYPE=other
12

13
sudo: false
14 15 16
cache:
  bundler: true
  directories:
Jonne Haß's avatar
Jonne Haß committed
17
    - app/assets/images
18
    - tmp/cache/assets
19 20 21 22

branches:
  only:
    - 'master'
23
    - 'next-minor'
24 25
    - 'develop'

26
before_install:
27
  - gem install bundler
28
  - mkdir travis-phantomjs
29
  - wget http://cifiles.diasporafoundation.org/phantomjs-2.1.1-linux-x86_64.tar.bz2 -O $PWD/travis-phantomjs/phantomjs-2.1.1-linux-x86_64.tar.bz2
30 31 32
  - tar -xvf $PWD/travis-phantomjs/phantomjs-2.1.1-linux-x86_64.tar.bz2 -C $PWD/travis-phantomjs
  - export PATH=$PWD/travis-phantomjs/phantomjs-2.1.1-linux-x86_64/bin:$PATH

33
bundler_args: "--deployment --without development --with mysql postgresql --jobs 3 --retry 3"
34

Jonne Haß's avatar
Jonne Haß committed
35
script: "./script/ci/build.sh"
36

37
notifications:
38 39
  irc:
    channels:
40
      - secure: YvYkeTAw+5oOl/RaXVwu7JkKGNWPoFosNQRmLvJkBFbWzZ1s5LZD1u3+Qj819bT3lGzJu9pxmJg765IRYrGWmBi4mcAV3dpO6qowVdFTcorf0JsnLw3Kvkga9rrDunsRNr21KTAQqHOO5mKUzw9DtMzd52BiWuZwIj3xcl72gQI=
41
    template:
42
      - "%{repository_slug}#%{commit} (%{branch} - %{commit_subject}): %{message} %{build_url}"