forked from firebase/firebase-js-sdk
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
48 lines (44 loc) · 1.03 KB
/
.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
37
38
39
40
41
42
43
44
45
46
47
48
language: node_js
node_js:
- 6
cache: yarn
# Define global C++ compiler version
env:
global:
- CXX=g++-4.8
matrix:
- TEST_ENV=node
- TEST_ENV=browser
before_install:
# Yarn defaults to an old version, make sure we
# get an up to date version
- npm install -g yarn
before_script:
- export PATH=$PATH:./node_modules/.bin
- mkdir -p tests/config && echo "$PROJECT_CONFIG" > tests/config/project.json
script:
gulp test --env="$TEST_ENV"
# Integration Test suite
jobs:
include:
- stage: Integration Tests
script: ./integration/webpack/runner.sh
- script: ./integration/browserify/runner.sh
- script: ./integration/typescript/runner.sh
- script: ./integration/serviceWorker/runner.sh
- script: ./integration/quickstart/runner.sh
- script: ./integration/messaging/runner.sh
# Misc Addons/Configs
dist: trusty
sudo: required
addons:
apt:
sources:
- google-chrome
- ubuntu-toolchain-r-test
packages:
- google-chrome-stable
- g++-4.8
branches:
only:
- master