forked from mathematicalthinking/encompass
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
36 lines (35 loc) · 887 Bytes
/
.travis.yml
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
# .travis.yml
language: node_js
node_js:
- "8.6.0"
services:
- mongodb
- xvfb
before_install: bash scripts/travis-before-install.sh
install:
- npm install
cache:
directories:
- "node_modules"
# - "../mt-sso/node_modules"
# - "../vmt/server/node_modules"
# - "../vmt/client/node_modules"
before_script: ./scripts/before-tests.sh
script: ./scripts/run-tests.sh
sudo: required
addons:
# chrome: stable
env:
- TEST_SUITE=api
- TEST_SUITE=e2eProblems
- TEST_SUITE=e2eAuth
- TEST_SUITE=e2eMentoring
- TEST_SUITE=e2eWorkspaces
# - TEST_SUITE=e2eVmt cant get these to run correctly on travis
- TEST_SUITE=e2eGeneral
# jobs:
# exclude:
# - # exclude tests that involve sending emails until we find a better way to test sending emails
# # i.e. not using a test gmail account/password
# if: type = pull_request
# env: TEST_SUITE=e2eAuth