https://github.com/Inist-CNRS/lodex
Raw File
Tip revision: babfadd39d894fb796b50cc32cd2c0cebfafaa10 authored by gildas on 06 April 2017, 09:40:49 UTC
7.5.0
Tip revision: babfadd
.travis.yml
language: node_js

node_js:
    - "7.8.0"

services: mongodb

env:
    global:
        - CHROME_BIN="chromium-browser"
        - DISPLAY=:99.0
        - NODE_ENV=test

dist: trusty

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