From 22637a55567f7b449c5f731c305f253d1fc12fcf Mon Sep 17 00:00:00 2001 From: Donald Stufft <donald.stufft@gmail.com> Date: Sat, 23 Feb 2013 02:55:29 -0500 Subject: [PATCH] Add in checking against nacl --- .travis.yml | 1 + tasks.py | 5 +++++ 2 files changed, 6 insertions(+) diff --git a/.travis.yml b/.travis.yml index e803cf0f..fc2da169 100644 --- a/.travis.yml +++ b/.travis.yml @@ -18,3 +18,4 @@ env: - LD_RUN_PATH=/usr/local/lib matrix: - NACL=libsodium + - NACL=nacl diff --git a/tasks.py b/tasks.py index 2baef0c2..9c43f26b 100644 --- a/tasks.py +++ b/tasks.py @@ -1,5 +1,6 @@ import hashlib import os +import platform import urllib2 from invoke import task, run @@ -43,6 +44,10 @@ def install_nacl(library): os.chdir(curdir) def _install_nacl(): + # Determine if we are running under Ubuntu + if platform.linux_distribution()[0] == "Ubuntu": + run("sudo apt-get install libnacl-dev") + raise NotImplementedError libraries = { -- GitLab