Skip to content

Commit dcb331d

Browse files
committed
change travis.yml
1 parent 5181fc9 commit dcb331d

File tree

2 files changed

+6
-9
lines changed

2 files changed

+6
-9
lines changed

.travis.yml

+5-9
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,13 @@
11
language: node_js
2-
before_install:
3-
- curl --silent --location https://dl.yarnpkg.com/rpm/yarn.repo | sudo tee /etc/yum.repos.d/yarn.repo
4-
- sudo yum install yarn
5-
- export PATH="$HOME/.yarn/bin:$PATH"
6-
cache:
2+
cache:
73
yarn: true
84
directories:
95
- node_modules
106
os:
11-
- "linux"
7+
- 'linux'
128
node_js:
13-
- "12"
9+
- '12'
1410
script:
15-
- "npm test"
11+
- 'npm test'
1612
after_script:
17-
- "npm run coverage"
13+
- 'npm run coverage'

examples/index.ts

+1
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ const instance = Such.instance({
1616
await Such.loadData();
1717
for (let i = 0; i < 3; i++) {
1818
const value = await instance.a();
19+
// eslint-disable-next-line no-console
1920
console.log(value);
2021
}
2122
})();

0 commit comments

Comments
 (0)