forked from usetania/tania-core
-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
52 lines (43 loc) · 1.08 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
language: go
dist: xenial
go:
- "1.11.x"
env:
- GO111MODULE=on
node_js:
- 11
addons:
chrome: stable
apt:
sources:
- sourceline: ppa:ubuntu-toolchain-r/test
- sourceline: 'deb https://dl.yarnpkg.com/debian/ stable main'
key_url: 'https://dl.yarnpkg.com/debian/pubkey.gpg'
packages:
- g++-6
- apt-transport-https
- ca-certificates
- curl
- wget
- software-properties-common
- gcc-mingw-w64-x86-64
- p7zip-full
- yarn
# Cache golang deps
cache:
yarn: true
pip: true
directories:
# Cache deps
- vendor
before_install:
- go get -u github.com/bookerzzz/gocovmerge
- wget -q "https://releases.linaro.org/components/toolchain/binaries/6.4-2017.11/arm-linux-gnueabihf/gcc-linaro-6.4.1-2017.11-x86_64_arm-linux-gnueabihf.tar.xz"
- tar xJf gcc-linaro-6.4.1-2017.11-x86_64_arm-linux-gnueabihf.tar.xz
- export PATH=$(pwd)/gcc-linaro-6.4.1-2017.11-x86_64_arm-linux-gnueabihf/bin:$PATH
- arm-linux-gnueabihf-gcc --version
install:
- go get
- npm install -g npm@latest
- yarn
script: bash scripts/build_test.sh