forked from CrowdStrike/faltest
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
44 lines (44 loc) · 782 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
37
38
39
40
41
42
43
44
language: node_js
node_js:
- '10'
branches:
only:
- master
# npm version tags
- /^(?:[a-z-]+|@[a-z-]+\/[a-z-]+)@\d+\.\d+\.\d+$/
addons:
chrome: stable
firefox: latest
env:
global:
- DEBUG=@faltest*,faltest-helpers
- DETECT_CHROMEDRIVER_VERSION=true
jobs:
include:
- name: Lint
script:
- yarn lint:git
- yarn lint:md
- yarn lint:js
- name: Test
env:
- WEBDRIVER_HEADLESS=true
- name: Acceptance
services:
- xvfb
script:
- yarn test:acceptance
- name: Acceptance
os: osx
script:
- yarn test:acceptance
- name: Global Install Test
cache:
npm: false
install:
- pushd fixtures/global-install
- yarn install --production
- yarn link
- popd
script:
- my-cli --headless