github.com/abschain-develop/go-abs@v2.0.3+incompatible/.travis.yml (about) 1 language: go 2 go_import_path: github.com/abschain-develop/go-abs 3 sudo: false 4 matrix: 5 include: 6 - os: linux 7 dist: xenial 8 sudo: required 9 go: 1.10.x 10 script: 11 - sudo modprobe fuse 12 - sudo chmod 666 /dev/fuse 13 - sudo chown root:$USER /etc/fuse.conf 14 - go run build/ci.go install 15 - go run build/ci.go test -coverage $TEST_PACKAGES 16 17 # These are the latest Go versions. 18 - os: linux 19 dist: xenial 20 sudo: required 21 go: 1.11.x 22 script: 23 - sudo modprobe fuse 24 - sudo chmod 666 /dev/fuse 25 - sudo chown root:$USER /etc/fuse.conf 26 - go run build/ci.go install 27 - go run build/ci.go test -coverage $TEST_PACKAGES 28 29 - os: osx 30 go: 1.11.x 31 script: 32 - echo "Increase the maximum number of open file descriptors on macOS" 33 - NOFILE=20480 34 - sudo sysctl -w kern.maxfiles=$NOFILE 35 - sudo sysctl -w kern.maxfilesperproc=$NOFILE 36 - sudo launchctl limit maxfiles $NOFILE $NOFILE 37 - sudo launchctl limit maxfiles 38 - ulimit -S -n $NOFILE 39 - ulimit -n 40 - unset -f cd # workaround for https://github.com/travis-ci/travis-ci/issues/8703 41 - go run build/ci.go install 42 - go run build/ci.go test -coverage $TEST_PACKAGES 43 44 # This builder only tests code linters on latest version of Go 45 - os: linux 46 dist: xenial 47 go: 1.11.x 48 env: 49 - lint 50 git: 51 submodules: false # avoid cloning ethereum/tests 52 script: 53 - go run build/ci.go lint 54 55 # This builder does the Ubuntu PPA upload 56 - if: type = push 57 os: linux 58 dist: xenial 59 go: 1.11.x 60 env: 61 - ubuntu-ppa 62 git: 63 submodules: false # avoid cloning ethereum/tests 64 addons: 65 apt: 66 packages: 67 - devscripts 68 - debhelper 69 - dput 70 - fakeroot 71 - python-bzrlib 72 - python-paramiko 73 script: 74 - echo '|1|7SiYPr9xl3uctzovOTj4gMwAC1M=|t6ReES75Bo/PxlOPJ6/GsGbTrM0= ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEA0aKz5UTUndYgIGG7dQBV+HaeuEZJ2xPHo2DS2iSKvUL4xNMSAY4UguNW+pX56nAQmZKIZZ8MaEvSj6zMEDiq6HFfn5JcTlM80UwlnyKe8B8p7Nk06PPQLrnmQt5fh0HmEcZx+JU9TZsfCHPnX7MNz4ELfZE6cFsclClrKim3BHUIGq//t93DllB+h4O9LHjEUsQ1Sr63irDLSutkLJD6RXchjROXkNirlcNVHH/jwLWR5RcYilNX7S5bIkK8NlWPjsn/8Ua5O7I9/YoE97PpO6i73DTGLh5H9JN/SITwCKBkgSDWUt61uPK3Y11Gty7o2lWsBjhBUm2Y38CBsoGmBw==' >> ~/.ssh/known_hosts 75 - go run build/ci.go debsrc -upload ethereum/ethereum -sftp-user gabs-ci -signer "Go Ethereum Linux Builder <gabs-ci@ethereum.org>" 76 77 # This builder does the Linux Azure uploads 78 - if: type = push 79 os: linux 80 dist: xenial 81 sudo: required 82 go: 1.11.x 83 env: 84 - azure-linux 85 git: 86 submodules: false # avoid cloning ethereum/tests 87 addons: 88 apt: 89 packages: 90 - gcc-multilib 91 script: 92 # Build for the primary platforms that Trusty can manage 93 - go run build/ci.go install 94 - go run build/ci.go archive -type tar -signer LINUX_SIGNING_KEY -upload gethstore/builds 95 - go run build/ci.go install -arch 386 96 - go run build/ci.go archive -arch 386 -type tar -signer LINUX_SIGNING_KEY -upload gethstore/builds 97 98 # Switch over GCC to cross compilation (breaks 386, hence why do it here only) 99 - sudo -E apt-get -yq --no-install-suggests --no-install-recommends --force-yes install gcc-arm-linux-gnueabi libc6-dev-armel-cross gcc-arm-linux-gnueabihf libc6-dev-armhf-cross gcc-aarch64-linux-gnu libc6-dev-arm64-cross 100 - sudo ln -s /usr/include/asm-generic /usr/include/asm 101 102 - GOARM=5 go run build/ci.go install -arch arm -cc arm-linux-gnueabi-gcc 103 - GOARM=5 go run build/ci.go archive -arch arm -type tar -signer LINUX_SIGNING_KEY -upload gethstore/builds 104 - GOARM=6 go run build/ci.go install -arch arm -cc arm-linux-gnueabi-gcc 105 - GOARM=6 go run build/ci.go archive -arch arm -type tar -signer LINUX_SIGNING_KEY -upload gethstore/builds 106 - GOARM=7 go run build/ci.go install -arch arm -cc arm-linux-gnueabihf-gcc 107 - GOARM=7 go run build/ci.go archive -arch arm -type tar -signer LINUX_SIGNING_KEY -upload gethstore/builds 108 - go run build/ci.go install -arch arm64 -cc aarch64-linux-gnu-gcc 109 - go run build/ci.go archive -arch arm64 -type tar -signer LINUX_SIGNING_KEY -upload gethstore/builds 110 111 # This builder does the Linux Azure MIPS xgo uploads 112 - if: type = push 113 os: linux 114 dist: xenial 115 services: 116 - docker 117 go: 1.11.x 118 env: 119 - azure-linux-mips 120 git: 121 submodules: false # avoid cloning ethereum/tests 122 script: 123 - go run build/ci.go xgo --alltools -- --targets=linux/mips --ldflags '-extldflags "-static"' -v 124 - for bin in build/bin/*-linux-mips; do mv -f "${bin}" "${bin/-linux-mips/}"; done 125 - go run build/ci.go archive -arch mips -type tar -signer LINUX_SIGNING_KEY -upload gethstore/builds 126 127 - go run build/ci.go xgo --alltools -- --targets=linux/mipsle --ldflags '-extldflags "-static"' -v 128 - for bin in build/bin/*-linux-mipsle; do mv -f "${bin}" "${bin/-linux-mipsle/}"; done 129 - go run build/ci.go archive -arch mipsle -type tar -signer LINUX_SIGNING_KEY -upload gethstore/builds 130 131 - go run build/ci.go xgo --alltools -- --targets=linux/mips64 --ldflags '-extldflags "-static"' -v 132 - for bin in build/bin/*-linux-mips64; do mv -f "${bin}" "${bin/-linux-mips64/}"; done 133 - go run build/ci.go archive -arch mips64 -type tar -signer LINUX_SIGNING_KEY -upload gethstore/builds 134 135 - go run build/ci.go xgo --alltools -- --targets=linux/mips64le --ldflags '-extldflags "-static"' -v 136 - for bin in build/bin/*-linux-mips64le; do mv -f "${bin}" "${bin/-linux-mips64le/}"; done 137 - go run build/ci.go archive -arch mips64le -type tar -signer LINUX_SIGNING_KEY -upload gethstore/builds 138 139 # This builder does the Android Maven and Azure uploads 140 - if: type = push 141 os: linux 142 dist: xenial 143 addons: 144 apt: 145 packages: 146 - oracle-java8-installer 147 - oracle-java8-set-default 148 language: android 149 android: 150 components: 151 - platform-tools 152 - tools 153 - android-15 154 - android-19 155 - android-24 156 env: 157 - azure-android 158 - maven-android 159 git: 160 submodules: false # avoid cloning ethereum/tests 161 before_install: 162 - curl https://storage.googleapis.com/golang/go1.11.5.linux-amd64.tar.gz | tar -xz 163 - export PATH=`pwd`/go/bin:$PATH 164 - export GOROOT=`pwd`/go 165 - export GOPATH=$HOME/go 166 script: 167 # Build the Android archive and upload it to Maven Central and Azure 168 - curl https://dl.google.com/android/repository/android-ndk-r17b-linux-x86_64.zip -o android-ndk-r17b.zip 169 - unzip -q android-ndk-r17b.zip && rm android-ndk-r17b.zip 170 - mv android-ndk-r17b $HOME 171 - export ANDROID_NDK=$HOME/android-ndk-r17b 172 173 - mkdir -p $GOPATH/src/github.com/ethereum 174 - ln -s `pwd` $GOPATH/src/github.com/ethereum 175 - go run build/ci.go aar -signer ANDROID_SIGNING_KEY -deploy https://oss.sonatype.org -upload gethstore/builds 176 177 # This builder does the OSX Azure, iOS CocoaPods and iOS Azure uploads 178 - if: type = push 179 os: osx 180 go: 1.11.x 181 env: 182 - azure-osx 183 - azure-ios 184 - cocoapods-ios 185 git: 186 submodules: false # avoid cloning ethereum/tests 187 script: 188 - go run build/ci.go install 189 - go run build/ci.go archive -type tar -signer OSX_SIGNING_KEY -upload gethstore/builds 190 191 # Build the iOS framework and upload it to CocoaPods and Azure 192 - gem uninstall cocoapods -a -x 193 - gem install cocoapods 194 195 - mv ~/.cocoapods/repos/master ~/.cocoapods/repos/master.bak 196 - sed -i '.bak' 's/repo.join/!repo.join/g' $(dirname `gem which cocoapods`)/cocoapods/sources_manager.rb 197 - if [ "$TRAVIS_PULL_REQUEST" = "false" ]; then git clone --depth=1 https://github.com/CocoaPods/Specs.git ~/.cocoapods/repos/master && pod setup --verbose; fi 198 199 - xctool -version 200 - xcrun simctl list 201 202 # Workaround for https://github.com/golang/go/issues/23749 203 - export CGO_CFLAGS_ALLOW='-fmodules|-fblocks|-fobjc-arc' 204 - go run build/ci.go xcode -signer IOS_SIGNING_KEY -deploy trunk -upload gethstore/builds 205 206 # This builder does the Azure archive purges to avoid accumulating junk 207 - if: type = cron 208 os: linux 209 dist: xenial 210 go: 1.11.x 211 env: 212 - azure-purge 213 git: 214 submodules: false # avoid cloning ethereum/tests 215 script: 216 - go run build/ci.go purge -store gethstore/builds -days 14