-
Notifications
You must be signed in to change notification settings - Fork 5
/
.travis.yml
53 lines (45 loc) · 1.02 KB
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
language: go
go: 1.14
dist: bionic
sudo: required
branches:
only:
- master
addons:
apt:
packages:
- apt-transport-https
- wget
- git
- openssh-server
- tree
- python3
- python3-pip
- python3-venv
- fuse
- attr
before_install:
- sudo -H pip3 install setuptools
- sudo -H pip3 install wheel
- sudo -H pip3 install dxpy
env:
global:
- DX_APISERVER_HOST="stagingapi.dnanexus.com"
- GOPATH="$HOME/go"
install:
# install golang system
- mkdir -p $GOPATH
- go get github.com/google/subcommands
- go get github.com/dnanexus/dxda
- go get github.com/jacobsa/fuse
- go get github.com/dnanexus/dxfuse
- go build -o $GOPATH/bin/dxfuse $GOPATH/src/github.com/dnanexus/dxfuse/cli/main.go
script: travis_wait
# we need to login into dnanexus first
- dx login --staging --noprojects --token $DX_API_TOKEN
# sanity test for dxfuse, see that we can run it in a trivial
# way
- dxfuse=$GOPATH/bin/dxfuse
- $dxfuse --help
# run tests
#- $GOPATH/src/github.com/dnanexus/dxfuse/test/local/local.sh