summaryrefslogtreecommitdiff
path: root/.travis.yml
blob: cdb6edc9657a88e7da2ae2c4fd05148e0c6dc795 (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
41
# travis file
# https://docs.travis-ci.com/user/customizing-the-build

notifications:
  email: false

branches:
  except:
    - l10n_master

language: node_js

node_js:
  - 10.1.0

env:
  - CXX=g++-4.8 NODE_ENV=production

addons:
  apt:
    sources:
      - ubuntu-toolchain-r-test
    packages:
      - g++-4.8

cache:
  directories:
    - node_modules

services:
  - mongodb
  - redis-server

before_script:
  - npm install

  # 設定ファイルを配置
  - cp ./.travis/default.yml ./.config
  - cp ./.travis/test.yml ./.config

  - travis_wait npm run build