https://github.com/Inist-CNRS/lodex
Raw File
Tip revision: f5537d45579754e6ae105f210c558dbba59de047 authored by Matthieu Chaffotte on 08 October 2019, 15:50:00 UTC
Merge pull request #954 from Inist-CNRS/releases/v11.0.2
Tip revision: f5537d4
.travis.yml
sudo: required

addons:
    chrome: stable

language: node_js

services:
    - docker

node_js:
    - '10'

env:
    global:
        - NODE_ENV=test
        - EZMASTER_PUBLIC_URL=http://localhost:3000

dist: trusty

cache:
    directories:
        - node_modules
        - ~/.cache/Cypress
        - ~/node_modules/.cache/
        - ~/node_modules/.cache/@babel/register/

branches:
    only:
        - master

install:
    - make install

stages:
    - name: test

jobs:
    include:
        - stage: test
          name: 'Unit Tests'
          env: NODE_ENV=test
          script: make test-unit

        - stage: test
          name: 'API E2E Tests'
          env: NODE_ENV=test
          script: make test-api-e2e

        - stage: test
          name: 'E2E Tests'
          env: NODE_ENV=test
          script: make test-e2e
back to top