https://github.com/Inist-CNRS/lodex
Raw File
Tip revision: 74c68e3fc04b718546e670199b8e8ca3136c69b0 authored by ThieryMichel on 08 March 2017, 13:11:02 UTC
5.4.0
Tip revision: 74c68e3
.travis.yml
language: node_js

node_js:
    - "7.4.0"

services: mongodb

env:
    global:
        - CHROME_BIN="chromium-browser"
        - CXX=g++-4.8
        - DISPLAY=:99.0
        - NODE_ENV=test

dist: trusty

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

cache:
    directories:
        - node_modules

before_script:
    - cp ./config/test-dist.js ./config/test.js

before_install:
    - "/sbin/start-stop-daemon --start --quiet --pidfile /tmp/custom_xvfb_99.pid --make-pidfile --background --exec /usr/bin/Xvfb -- :99 -ac -screen 0 1280x1024x16"
    - sh -e /etc/init.d/xvfb start
    - sleep 3

install:
    - "make --silent install"
back to top