aboutsummaryrefslogtreecommitdiffhomepage
path: root/.circleci
diff options
context:
space:
mode:
authorAyke van Laethem <[email protected]>2020-03-11 20:21:10 +0100
committerRon Evans <[email protected]>2020-03-11 15:08:17 -0700
commit928a9707827e73feac3a9b972cb774f5566f7d98 (patch)
tree4144237981a5a8969201b0c95123324feba6de2f /.circleci
parent0c73d56861e957f173fe24b000284dc720924afc (diff)
downloadtinygo-928a9707827e73feac3a9b972cb774f5566f7d98.tar.gz
tinygo-928a9707827e73feac3a9b972cb774f5566f7d98.zip
ci: move Go version tests to buster containers
This fixes an error like the following: E: The method driver /usr/lib/apt/methods/https could not be found. N: Is the package apt-transport-https installed? Apparently apt.llvm.org has been switched over to HTTPS. One solution could be to install apt-transport-https, but another (easier) solution is to switch to a newer container. Note: I did not switch the other containers, to make sure TinyGo is still built with an older Debian release. That ensures the resulting binaries are relatively portable across distros, even relatively old distros.
Diffstat (limited to '.circleci')
-rw-r--r--.circleci/config.yml8
1 files changed, 4 insertions, 4 deletions
diff --git a/.circleci/config.yml b/.circleci/config.yml
index b6baaab32..31d6051f5 100644
--- a/.circleci/config.yml
+++ b/.circleci/config.yml
@@ -14,7 +14,7 @@ commands:
- run:
name: "Install apt dependencies"
command: |
- echo 'deb http://apt.llvm.org/stretch/ llvm-toolchain-stretch<<parameters.llvm>> main' | sudo tee /etc/apt/sources.list.d/llvm.list
+ echo 'deb https://apt.llvm.org/buster/ llvm-toolchain-buster<<parameters.llvm>> main' | sudo tee /etc/apt/sources.list.d/llvm.list
wget -O - https://apt.llvm.org/llvm-snapshot.gpg.key|sudo apt-key add -
sudo apt-get update
sudo apt-get install \
@@ -308,17 +308,17 @@ commands:
jobs:
test-llvm9-go111:
docker:
- - image: circleci/golang:1.11-stretch
+ - image: circleci/golang:1.11-buster
steps:
- test-linux
test-llvm9-go112:
docker:
- - image: circleci/golang:1.12-stretch
+ - image: circleci/golang:1.12-buster
steps:
- test-linux
test-llvm9-go113:
docker:
- - image: circleci/golang:1.13-stretch
+ - image: circleci/golang:1.13-buster
steps:
- test-linux
assert-test-linux: