diff options
| author | 2019-05-31 14:08:46 +0200 | |
|---|---|---|
| committer | 2019-05-31 14:08:46 +0200 | |
| commit | 43c4e4ce158fa44bb5da1b43dc5019971d3cc6bf (patch) | |
| tree | 64b4f68edc43d49d20dcf8602d791b347c54844b | |
| parent | updated to newest version of zig (diff) | |
| download | zig-clap-43c4e4ce158fa44bb5da1b43dc5019971d3cc6bf.tar.gz zig-clap-43c4e4ce158fa44bb5da1b43dc5019971d3cc6bf.tar.xz zig-clap-43c4e4ce158fa44bb5da1b43dc5019971d3cc6bf.zip | |
tried to fix travis
| -rw-r--r-- | .travis.yml | 4 | ||||
| -rwxr-xr-x | download-zig.sh | 3 |
2 files changed, 5 insertions, 2 deletions
diff --git a/.travis.yml b/.travis.yml index b4adebe..bd8c899 100644 --- a/.travis.yml +++ b/.travis.yml | |||
| @@ -2,8 +2,8 @@ language: bash | |||
| 2 | os: | 2 | os: |
| 3 | - linux | 3 | - linux |
| 4 | install: | 4 | install: |
| 5 | - wget https://ziglang.org/builds/zig-linux-x86_64-master.tar.xz --no-cache | 5 | - chmod -R a+x download-zig.sh |
| 6 | - tar -xf zig-linux-* | 6 | - ./download-zig.sh |
| 7 | git: | 7 | git: |
| 8 | depth: false | 8 | depth: false |
| 9 | script: | 9 | script: |
diff --git a/download-zig.sh b/download-zig.sh new file mode 100755 index 0000000..0f353b1 --- /dev/null +++ b/download-zig.sh | |||
| @@ -0,0 +1,3 @@ | |||
| 1 | #!/bin/sh | ||
| 2 | curl "$(curl https://ziglang.org/download/index.json | grep x86_64-linux -A 1 | head -n 2 | grep tarball | sed -E 's/.*"tarball": "([^"]*)".*/\1/g')" > zig.tar.xz | ||
| 3 | tar -xf zig.tar.xz \ No newline at end of file | ||