fix(travis):test travis

dev
neeboo 5 years ago
parent 5a90b959a3
commit 59ceb91a65
  1. 6
      .travis.yml
  2. 11
      packages/harmony-account/tsconfig.json
  3. 5
      packages/harmony-contract/tsconfig.json
  4. 4
      packages/harmony-core/tsconfig.json
  5. 4
      packages/harmony-crypto/tsconfig.json
  6. 4
      packages/harmony-network/tsconfig.json
  7. 4
      packages/harmony-transaction/tsconfig.json
  8. 4
      packages/harmony-utils/tsconfig.json

@ -8,11 +8,9 @@ branches:
- /^v[0-9]/ - /^v[0-9]/
install: install:
- yarn global add lerna && yarn global add typescript - yarn global add lerna && yarn global add typescript
- lerna bootstrap - yarn install
script: script:
- yarn test:src - yarn bootstrap
- ls -a packages/harmony-account/tsconfig.tsbuildinfo
- yarn dist
cache: cache:
directories: directories:
- '$HOME/.yarn-cache' - '$HOME/.yarn-cache'

@ -1,15 +1,14 @@
{ {
"extends": "../../tsconfig.base.json", "extends": "../../tsconfig.base.json",
"compilerOptions": { "compilerOptions": {
"outDir": "dist",
"rootDir": "src", "rootDir": "src",
"declarationDir": "dist" "outDir": "dist"
}, },
"include": ["src", "../../typings/**/*.d.ts"], "include": ["src", "../../typings/**/*.d.ts"],
"references": [ "references": [
{ "path": "../harmony-crypto" }, {"path": "../harmony-crypto"},
{ "path": "../harmony-utils" }, {"path": "../harmony-utils"},
{ "path": "../harmony-transaction" }, {"path": "../harmony-transaction"},
{ "path": "../harmony-network" } {"path": "../harmony-network"}
] ]
} }

@ -1,11 +1,8 @@
{ {
"extends": "../../tsconfig.base.json", "extends": "../../tsconfig.base.json",
"compilerOptions": { "compilerOptions": {
"baseUrl": ".",
"paths": {"*": ["types/*"]},
"outDir": "dist",
"rootDir": "src", "rootDir": "src",
"declarationDir": "dist" "outDir": "dist"
}, },
"include": ["src", "../../typings/**/*.d.ts"], "include": ["src", "../../typings/**/*.d.ts"],
"references": [ "references": [

@ -1,8 +1,8 @@
{ {
"extends": "../../tsconfig.base.json", "extends": "../../tsconfig.base.json",
"compilerOptions": { "compilerOptions": {
"outDir": "dist", "rootDir": "src",
"rootDir": "src" "outDir": "dist"
}, },
"include": ["src", "../../typings/**/*.d.ts", "../harmony-utils/src/core.ts"], "include": ["src", "../../typings/**/*.d.ts", "../harmony-utils/src/core.ts"],
"references": [ "references": [

@ -1,8 +1,8 @@
{ {
"extends": "../../tsconfig.base.json", "extends": "../../tsconfig.base.json",
"compilerOptions": { "compilerOptions": {
"outDir": "dist", "rootDir": "src",
"rootDir": "src" "outDir": "dist"
}, },
"include": ["src", "../../typings/**/*.d.ts"], "include": ["src", "../../typings/**/*.d.ts"],
"references": [{"path": "../harmony-utils"}] "references": [{"path": "../harmony-utils"}]

@ -1,8 +1,8 @@
{ {
"extends": "../../tsconfig.base.json", "extends": "../../tsconfig.base.json",
"compilerOptions": { "compilerOptions": {
"outDir": "dist", "rootDir": "src",
"rootDir": "src" "outDir": "dist"
}, },
"include": ["src", "../../typings/**/*.d.ts"], "include": ["src", "../../typings/**/*.d.ts"],
"references": [{"path": "../harmony-utils"}] "references": [{"path": "../harmony-utils"}]

@ -1,8 +1,8 @@
{ {
"extends": "../../tsconfig.base.json", "extends": "../../tsconfig.base.json",
"compilerOptions": { "compilerOptions": {
"outDir": "dist", "rootDir": "src",
"rootDir": "src" "outDir": "dist"
}, },
"include": ["src", "../../typings/**/*.d.ts"], "include": ["src", "../../typings/**/*.d.ts"],
"references": [ "references": [

@ -1,8 +1,8 @@
{ {
"extends": "../../tsconfig.base.json", "extends": "../../tsconfig.base.json",
"compilerOptions": { "compilerOptions": {
"outDir": "dist", "rootDir": "src",
"rootDir": "src" "outDir": "dist"
}, },
"include": ["src", "../../typings/**/*.d.ts"] "include": ["src", "../../typings/**/*.d.ts"]
} }

Loading…
Cancel
Save