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

3
rvm:
Benjamin Neff's avatar
Benjamin Neff committed
4 5
  - 2.4.2
  - 2.3.5
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
Jonne Haß's avatar
Jonne Haß committed
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
  - script/ci/prepare.sh
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
script: "bin/rake --trace ci:travis:${BUILD_TYPE}"
34

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