File tree Expand file tree Collapse file tree 3 files changed +27
-5
lines changed Expand file tree Collapse file tree 3 files changed +27
-5
lines changed Original file line number Diff line number Diff line change 15
15
# vendor/
16
16
17
17
.vscode
18
+
19
+ # Release artifacts
20
+ * .tar.gz
21
+ go-graphkb
22
+ importer-csv
Original file line number Diff line number Diff line change 1
1
language : go
2
2
3
3
go :
4
- - 1.13.x
4
+ - 1.13.x
5
5
6
6
script :
7
- - go test -v ./...
8
- - pushd web && npm ci && npm run build && popd
9
- - go build -o go-graphkb cmd/go-graphkb/main.go
10
- - go build -o importer-csv cmd/importer-csv/main.go
7
+ - .travis/run.sh
8
+
9
+ before_deploy :
10
+ - echo Deploying GraphKB $TRAVIS_TAG to GitHub Releases
11
+ deploy :
12
+ provider : releases
13
+ api_key : " $GITHUB_API_KEY"
14
+ file_glob : true
15
+ file : " graphkb-$TRAVIS_TAG.tar.gz"
16
+ skip_cleanup : true
17
+ on :
18
+ tags : true
Original file line number Diff line number Diff line change
1
+ #! /bin/bash
2
+
3
+ go test -v ./...
4
+
5
+ pushd web && npm ci && npm run build && popd
6
+ go build -o go-graphkb cmd/go-graphkb/main.go
7
+ go build -o importer-csv cmd/importer-csv/main.go
8
+
9
+ tar cvf graphkb.tar.gz web/build go-graphkb importer-csv
You can’t perform that action at this time.
0 commit comments