forked from floating-ui/floating-ui
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.travis.yml
More file actions
46 lines (39 loc) · 1.08 KB
/
.travis.yml
File metadata and controls
46 lines (39 loc) · 1.08 KB
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
dist: bionic
language: node_js
node_js: 12
cache:
yarn: true
directories:
- node_modules
- docs/.cache
- docs/node_modules
- docs/public
jobs:
include:
- stage: Tests & Code Check
name: Flow Type
script: yarn test:flow
- stage: Tests & Code Check
name: ESLint
script: yarn test:eslint
- stage: Tests & Code Check
name: TypeScript
before_script: yarn build:typescript
script: yarn test:typescript
- stage: Tests & Code Check
name: Unit Tests
before_script: NODE_ENV=development yarn build:bundles
script: yarn test:unit
- stage: Tests & Code Check
name: '[Chrome] Functional Tests'
script: PUPPETEER_BROWSER=chromium travis_retry yarn test:functional
#- name: '[Firefox] Functional Tests'
# script: PUPPETEER_BROWSER=firefox travis_retry yarn jest tests/functional
- stage: Deploy
name: Website / Documentation
if: '(NOT type IN (pull_request)) AND (branch = master)'
script:
- yarn build
- cd docs
- yarn install
- yarn deploy