Scott Baker | 611f6bd | 2019-10-18 13:45:19 -0700 | [diff] [blame^] | 1 | dist: xenial |
Scott Baker | eee8dd8 | 2019-09-24 12:52:34 -0700 | [diff] [blame] | 2 | language: go |
| 3 | |
| 4 | go: |
Scott Baker | eee8dd8 | 2019-09-24 12:52:34 -0700 | [diff] [blame] | 5 | - 1.10.x |
| 6 | - 1.11.x |
Scott Baker | 611f6bd | 2019-10-18 13:45:19 -0700 | [diff] [blame^] | 7 | - 1.12.x |
Scott Baker | eee8dd8 | 2019-09-24 12:52:34 -0700 | [diff] [blame] | 8 | |
| 9 | os: |
| 10 | - linux |
| 11 | - osx |
| 12 | |
| 13 | matrix: |
| 14 | include: |
| 15 | name: "Go 1.11.x CentOS 32bits" |
| 16 | language: go |
| 17 | go: 1.11.x |
| 18 | os: linux |
| 19 | services: |
| 20 | - docker |
| 21 | script: |
| 22 | # Please update Go version in travis_test_32 as needed |
| 23 | - "docker run -i -v \"${PWD}:/zstd\" toopher/centos-i386:centos6 /bin/bash -c \"linux32 --32bit i386 /zstd/travis_test_32.sh\"" |
| 24 | |
| 25 | install: |
| 26 | - "wget https://github.com/DataDog/zstd/files/2246767/mr.zip" |
| 27 | - "unzip mr.zip" |
| 28 | script: |
| 29 | - "go build" |
| 30 | - "PAYLOAD=`pwd`/mr go test -v" |
| 31 | - "PAYLOAD=`pwd`/mr go test -bench ." |