File: .travis.yml

package info (click to toggle)
tdiary 5.0.11-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, sid
  • size: 2,852 kB
  • sloc: ruby: 22,925; xml: 325; makefile: 16; sh: 10
file content (43 lines) | stat: -rw-r--r-- 723 bytes parent folder | download
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
41
42
43
language: ruby

sudo: false

services: memcache

rvm:
  - 2.3.8
  - 2.4.5
  - 2.5.3
  - 2.6.0
  - ruby-head

matrix:
  allow_failures:
    - rvm: ruby-head

cache:
  bundler: true
  directories:
    - node_modules

# ignored --deployment option
bundler_args: "--without server --jobs=3 --retry=3"

before_install:
  - "echo 'gemspec' > Gemfile.local"
  - echo "gem 'phantomjs', '= 1.9.8.0'" >> Gemfile.local
  - gem update --system
  - gem update bundler
  - bundle update phantomjs

before_script:
  - npm install

script: if [ $TEST_MODE = "gem" ] ; then bundle exec tdiary test ; else bundle exec rake spec jasmine:ci test ; fi

env:
  - TEST_MODE=rack
  - TEST_MODE=gem

notifications:
  irc: "irc.freenode.org#tdiary"