-
Notifications
You must be signed in to change notification settings - Fork 3
/
.travis.yml
40 lines (34 loc) · 1.76 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
language: go
go:
- 1.8
notifications:
email: false
env:
global:
- secure: "EQZvPcU3L1/HLNx4ncHWJbF1oQIUelGZungO7APBKxnX0oq//RQ0LXGoEeY8rgg2q8r3utyeg5yZlqZ9AtXymX0dJX/uAsA4HvuM28DKOuMXrdJh7gg43qQaHMecCF0nKNTbYRxxLrOcbRbmi0ZCAD18II3GqBSGGofHdCGULnZbwXCojJYeJzMaAmWjYNAXoP46MwqyFzicsZkROWGbajWERVfzSIqmI5zb2i9LlEszXi7xvrHphdukE3may2+VN39STVYYxoQBIc0FzaLkweanUB550SB/ZvB/9Za6vjSrlXxyGlb3l8NS41PP2OAVz0eZ3Xrsx6ZletrTShR8LMosrqqU+Ini0wAfTNAFOfSBS9PU34N9MHFh1OmxU584HPHEqfG9yZU/yE17lPgHaKSNz2a2wB0fvhy5Zb1+fV/VaCLT8sRBpLytFUOXdjtQdeO2kPlGEeO4w2fDnw1WAyIfLedcchxiRUcvqJ+VxFWR9Iw/eYzDtfZQSPdjvP7LLNy2Dehu/E+wcJ6CFLG/004fpuEudgZLuszAiJ6S95cNYguMxdPW90gQ7MolMLKyDFecTxTj2D9/RhP9c8yUzUq/hXHCOxja0pvPQAgEoErvqzCvuD+GWJaTPsuBYwWMwPTMT6DKWgpHB0hCgvBIktGIUe/Eg0RUmB8hJPhtB9o="
- PATH=$HOME/gopath/bin:$PATH
before_install:
- go get github.com/goccmack/gocc
- go get golang.org/x/arch/x86/x86asm
- wget -O $HOME/gopath/src/golang.org/x/arch/x86/x86asm/tables.go https://raw.githubusercontent.com/mewpull/arch/master/x86/x86asm/tables.go
install:
- go get -t ./...
before_script:
- go get golang.org/x/tools/cmd/cover
- go get golang.org/x/tools/cmd/goimports
- go get golang.org/x/lint/golint
- go get github.com/mattn/goveralls
# Install NASM for test case generation.
- sudo apt-get -qq update
- sudo apt-get install -y nasm
# Install lib32 dependencies.
- sudo dpkg --add-architecture i386
- sudo apt-get install -y libc6-dev-i386 gcc-multilib
# Generate test cases
- make -C $HOME/gopath/src/github.com/decomp/exp/lift/x86/testdata
# Run goclean script.
- export GOLINT_IGNORE="-not -wholename '*/internal/*' -not -name '*_string.go'"
- wget https://gist.github.com/mewmew/379014c9a2e6885e238d/raw/goclean.sh
- chmod +x goclean.sh
script:
- ./goclean.sh