Skip to content

Commit d7341a5

Browse files
Denys Smirnovdennwc
authored andcommitted
update to the latest sdk version
Signed-off-by: Denys Smirnov <[email protected]>
1 parent 4d3d92c commit d7341a5

File tree

4 files changed

+15
-12
lines changed

4 files changed

+15
-12
lines changed

.travis.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,18 +6,21 @@ go:
66
services:
77
- docker
88

9+
env:
10+
- BBLFSHD_VERSION=v2.6.1
11+
912
before_script:
1013
- curl -L https://github.com/golang/dep/releases/download/v0.4.1/dep-linux-amd64 > $GOPATH/bin/dep
1114
- chmod +x $GOPATH/bin/dep
1215
- dep ensure --vendor-only
1316
- go get ./vendor/gopkg.in/bblfsh/sdk.v2/cmd/...
1417
- go install ./vendor/gopkg.in/bblfsh/sdk.v2/cmd/...
15-
- docker pull bblfsh/bblfshd
18+
- docker pull bblfsh/bblfshd:$BBLFSHD_VERSION
1619

1720
script:
1821
- bblfsh-sdk update --dry-run
1922
- bblfsh-sdk build ci-build
20-
- bblfsh-sdk test ci-build
23+
- bblfsh-sdk test --bblfshd $BBLFSHD_VERSION ci-build
2124

2225
after_success:
2326
- bblfsh-sdk push ci-build

Gopkg.lock

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Gopkg.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
# for detailed Gopkg.toml documentation.
33

44
[[constraint]]
5-
branch = "v2"
65
name = "gopkg.in/bblfsh/sdk.v2"
6+
version = "v2.1.x"
77

88
[prune]
99
go-tests = true

README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# typescript-driver ![Driver Status](https://img.shields.io/badge/status-alpha-db975c.svg) [![Build Status](https://travis-ci.org/bblfsh/typescript-driver.svg?branch=master)](https://travis-ci.org/bblfsh/typescript-driver) ![Native Version](https://img.shields.io/badge/typescript%20version-2.2.1-aa93ea.svg) ![Go Version](https://img.shields.io/badge/go%20version-1.10-63afbf.svg)
1+
# TypeScript driver for [Babelfish](https://github.com/bblfsh/bblfshd) ![Driver Status](https://img.shields.io/badge/status-alpha-db975c.svg) [![Build Status](https://travis-ci.org/bblfsh/typescript-driver.svg?branch=master)](https://travis-ci.org/bblfsh/typescript-driver) ![Native Version](https://img.shields.io/badge/typescript%20version-2.2.1-aa93ea.svg) ![Go Version](https://img.shields.io/badge/go%20version-1.10-63afbf.svg)
22

33
typescript driver for [babelfish](https://github.com/bblfsh/server).
44

@@ -9,14 +9,14 @@ Development Environment
99
Requirements:
1010
- `docker`
1111
- [`bblfsh-sdk`](https://github.com/bblfsh/sdk) _(go get -u gopkg.in/bblfsh/sdk.v2/...)_
12-
- UAST converter dependencies _(go get -t -v ./...)_
12+
- UAST converter dependencies _(dep ensure --vendor-only)_
1313

14-
To initialize the build system execute: `bblfsh-sdk prepare-build`, at the root of the project. This will install the SDK at `.sdk` for this driver.
14+
To initialize the build system execute: `bblfsh-sdk update`, at the root of the project. This will generate the `Dockerfile` for this driver.
1515

16-
To execute the tests just execute `make test`, this will execute the test over the native and the go components of the driver. Use `make test-native` to run the test only over the native component or `make test-driver` to run the test just over the go component.
16+
To execute the tests just execute `bblfsh-sdk test`, this will execute the test over the native and the go components of the driver using Docker.
1717

18-
The build is done executing `make build`. To evaluate the result using a docker container, execute:
19-
`docker run -it bblfsh/typescript-driver:dev-<commit[:7]>-dirty`
18+
The build is done executing `bblfsh-sdk build`. To evaluate the result using a docker container, execute:
19+
`bblfsh-sdk build test-driver && docker run -it test-driver`.
2020

2121

2222
License

0 commit comments

Comments
 (0)