Skip to content

Commit

Permalink
Fix the build on Travis CI (resolves #70)
Browse files Browse the repository at this point in the history
- Remove the old build matrix
- Use the official libsodium source code
- Verify the libsodium distribution signature
  • Loading branch information
eploko committed Sep 12, 2020
1 parent 9b8c935 commit 2abf9b8
Show file tree
Hide file tree
Showing 2 changed files with 134 additions and 11 deletions.
18 changes: 7 additions & 11 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,18 +8,14 @@ cache:
- $HOME/.lein
- $HOME/.m2
env:
- LIBSODIUM_VERSION=1.0.16
- LIBSODIUM_VERSION=1.0.15
- LIBSODIUM_VERSION=1.0.14
- LIBSODIUM_VERSION=1.0.13
matrix:
allow_failures:
- env: LIBSODIUM_VERSION=1.0.14
- env: LIBSODIUM_VERSION=1.0.13
fast_finish: true
- LIBSODIUM_VERSION=1.0.18
install:
- wget https://github.com/lvh/libsodium-debs/raw/master/libsodium-${LIBSODIUM_VERSION}_amd64.deb
- sudo dpkg -i libsodium-${LIBSODIUM_VERSION}_amd64.deb
- wget https://download.libsodium.org/libsodium/releases/libsodium-${LIBSODIUM_VERSION}.tar.gz
- wget https://download.libsodium.org/libsodium/releases/libsodium-${LIBSODIUM_VERSION}.tar.gz.sig
- gpg --import libsodium.pub
- gpg --verify libsodium-${LIBSODIUM_VERSION}.tar.gz.sig libsodium-${LIBSODIUM_VERSION}.tar.gz
- tar xfz libsodium-${LIBSODIUM_VERSION}.tar.gz
- cd libsodium-${LIBSODIUM_VERSION} && ./configure && make && make check && sudo make install
script:
- lein with-profile +test cljfmt check
- lein with-profile +test kibit
Expand Down
127 changes: 127 additions & 0 deletions libsodium.pub
Original file line number Diff line number Diff line change
@@ -0,0 +1,127 @@
-----BEGIN PGP PUBLIC KEY BLOCK-----
Version: GnuPG v1 (OpenBSD)

mQINBFTZ0A8BEAD2/BeYhJpEJDADNuOz5EO8E0SIj5VeQdb9WLh6tBe37KrJJy7+
FBFnsd/ahfsqoLmr/IUE3+ZejNJ6QVozUKUAbds1LnKh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