1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-11-21 15:04:11 -05:00

Try to fix travis

This commit is contained in:
Ryan Dahl 2018-05-24 13:47:05 -04:00
parent 8b4809d680
commit 016684a586
3 changed files with 12 additions and 8 deletions

View file

@ -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
@ -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

View file

@ -2,6 +2,7 @@
"name": "deno",
"scripts": {
"lint": "tslint -p tsconfig.json",
"lint-version": "tslint --version",
"fmt": "prettier --write *.ts* *.js *.json"
},
"devDependencies": {
@ -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"
},

View file

@ -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:
tslint@5.10.0:
version "5.10.0"
resolved "https://registry.yarnpkg.com/tslint/-/tslint-5.10.0.tgz#11e26bccb88afa02dd0d9956cae3d4540b5f54c3"
dependencies: