-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.travis.yml
More file actions
40 lines (34 loc) · 860 Bytes
/
.travis.yml
File metadata and controls
40 lines (34 loc) · 860 Bytes
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
sudo: false
language: node_js
node_js:
- stable
cache:
bundle: true
directories:
- ~/.npm
- node_modules
install:
- npm install
jobs:
include:
- stage: Document deploy
allow_failure: true
script: picidae build -c _site/picidae.config.js -f --source-map
deploy:
edge:
branch: v1.8.47
provider: pages
skip_cleanup: true
github_token: ${GH_TOKEN} # Set in travis-ci.org dashboard
local_dir: public
- stage: Unit testing
before_script: npm install codecov
script: npm test -- --coverage
after_script: codecov --token=$CODECOV_TOKEN
- stage: E2E testing
script: npm run test:cy:ci $CYPRESS_RECORD_KEY
# repo: $GH_REF
# addons:
# sauce_connect:
# username: imcuttle
# access_key: ${SAUCE_ACCESS}