Skip to content

Commit

Permalink
Try to fix travis
Browse files Browse the repository at this point in the history
  • Loading branch information
ry committed May 24, 2018
1 parent 8b4809d commit 016684a
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 8 deletions.
15 changes: 9 additions & 6 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,14 @@ env:
before_install: |
if [[ $TRAVIS_OS_NAME == 'linux' ]]; then
# protoc
mkdir -p $PROTOBUF_ROOT
pushd $PROTOBUF_ROOT
wget https://github.com/google/protobuf/releases/download/v3.1.0/protoc-3.1.0-linux-x86_64.zip
unzip protoc-3.1.0-linux-x86_64.zip
popd
export PATH=$PROTOBUF_ROOT/bin:$PATH
if [ -d $PROTOBUF_ROOT ]; then
mkdir -p $PROTOBUF_ROOT
pushd $PROTOBUF_ROOT
wget https://github.com/google/protobuf/releases/download/v3.1.0/protoc-3.1.0-linux-x86_64.zip
unzip protoc-3.1.0-linux-x86_64.zip
popd
export PATH=$PROTOBUF_ROOT/bin:$PATH
fi
fi
install:
- mkdir -p $HOME/.ccache
Expand All @@ -28,5 +30,6 @@ install:
- go get -d github.com/ry/v8worker2
- (cd $GOPATH/src/github.com/ry/v8worker2 && ./tools/build.py)
script:
- yarn lint-version
- make lint
- make test
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
"name": "deno",
"scripts": {
"lint": "tslint -p tsconfig.json",
"lint-version": "tslint --version",
"fmt": "prettier --write *.ts* *.js *.json"
},
"devDependencies": {
Expand All @@ -15,7 +16,7 @@
"protobufjs": "^6.8.6",
"source-map": "0.6.0",
"tmp": "0.0.33",
"tslint": "^5.10.0",
"tslint": "5.10.0",
"typescript": "^2.8.3",
"uglify-js": "^2.8.29"
},
Expand Down
2 changes: 1 addition & 1 deletion yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -3598,7 +3598,7 @@ tslib@^1.8.0, tslib@^1.8.1:
version "1.9.0"
resolved "https://registry.yarnpkg.com/tslib/-/tslib-1.9.0.tgz#e37a86fda8cbbaf23a057f473c9f4dc64e5fc2e8"

tslint@^5.10.0:
[email protected]:
version "5.10.0"
resolved "https://registry.yarnpkg.com/tslint/-/tslint-5.10.0.tgz#11e26bccb88afa02dd0d9956cae3d4540b5f54c3"
dependencies:
Expand Down

0 comments on commit 016684a

Please sign in to comment.