forked from graphql/dataloader
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
32 lines (27 loc) · 1.21 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
language: node_js
# https://github.com/nodejs/LTS
node_js:
- '12'
- '10'
- '8'
git:
depth: 5
cache: yarn
script:
- if [[ "$TRAVIS_JOB_NUMBER" == *.1 ]]; then npm run test:ci; else npm run testonly; fi
jobs:
include:
- stage: deploy
if: tag IS present
script: echo "Deploying..."
node_js: '12'
deploy:
provider: npm
skip_cleanup: true
email: [email protected]
api_key:
secure: nSGc6vlrEBM7vngiA1YdwlZsFLPVkmXuoVnHpFLmlQ8602Fg10yBJhab6a5SzJO11OGZCF58pUOK5VZn+gz5QLZn+MsOvCl8q8Y+wwtEe6vDtGuD3LI1Hw7zjBXGAlkZ418/MLye2aXAShrYzGOtbnFn2AYYZTyR6hqFSBBqktXsG3E6ZHNe4paJz09YTslD7Yk/mv4uitbxXRwNKe4GX3gddKiGRc5EgKSIrSqBg19lhaOvL30HvMybosJAHEs0Er/U4SQiKaYOd3bdeABPe4syBpo76YfgQJQNZdXq2MRZxEnCs8hniCw8rAPm1Q/yv3FVG6N9IPk23BEezk6ah4vp6p1uMCiwpS1+LQ3/hYs7sjiswWkK2Tg4WN6jmTYMfPfEGpPDsgwyCRcL9I9ovDl/nbDLlXiseRqFsSkM49SJXBMJa+EuQNgfPbT+zEdZFdKCFe9fmD2f2yPaVG5tvF7j/HyZE0FTfLkAeKdPLvnM7U3w81Bfpzfuz2KywjiR/C6LqjV1J8ioBlhpBtbnahCTj5d+jIfeR0Oc00np9w0DJAFSfHTXSBXzhvTHtZ0AKdvalzimJKREfy50ABPPbtbUlNnSkoyLjlxKUpp0kbZBnlu+kVcoEyIFiNhg8T+s28Wv8fYVUiJ7PihpUxB9QVD6iTvmYFftusNZJnfZZTk=
on:
tags: true
branch: master
repo: graphql/dataloader