Scott Baker | f579f13 | 2019-10-24 14:31:41 -0700 | [diff] [blame] | 1 | dist: xenial |
Scott Baker | e7144bc | 2019-10-01 14:16:47 -0700 | [diff] [blame] | 2 | language: go |
| 3 | |
| 4 | go: |
Scott Baker | e7144bc | 2019-10-01 14:16:47 -0700 | [diff] [blame] | 5 | - 1.10.x |
| 6 | - 1.11.x |
Scott Baker | f579f13 | 2019-10-24 14:31:41 -0700 | [diff] [blame] | 7 | - 1.12.x |
Scott Baker | e7144bc | 2019-10-01 14:16:47 -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 ." |