mirror of
https://github.com/certbot/certbot.git
synced 2026-07-28 16:54:22 +02:00
Bootstrap scripts (fixes: #302)
This commit is contained in:
+2
-5
@@ -1,10 +1,7 @@
|
||||
language: python
|
||||
|
||||
# please keep this in sync with docs/using.rst (Ubuntu section, apt-get)
|
||||
before_install: >
|
||||
travis_retry sudo apt-get install python python-setuptools
|
||||
python-virtualenv python-dev gcc swig dialog libaugeas0 libssl-dev
|
||||
libffi-dev ca-certificates
|
||||
# http://docs.travis-ci.com/user/ci-environment/#CI-environment-OS
|
||||
before_install: travis_retry ./bootstrap/ubuntu.sh
|
||||
|
||||
install: "travis_retry pip install tox coveralls"
|
||||
script: "travis_retry tox"
|
||||
|
||||
Vendored
+1
-3
@@ -6,10 +6,8 @@ VAGRANTFILE_API_VERSION = "2"
|
||||
|
||||
# Setup instructions from docs/using.rst
|
||||
$ubuntu_setup_script = <<SETUP_SCRIPT
|
||||
sudo apt-get update
|
||||
sudo apt-get install -y python python-setuptools python-virtualenv python-dev gcc swig dialog libaugeas0 libssl-dev libffi-dev ca-certificates
|
||||
|
||||
cd /vagrant
|
||||
./bootstrap/ubuntu.sh
|
||||
if [ ! -d "venv" ]; then
|
||||
virtualenv --no-site-packages -p python2 venv
|
||||
./venv/bin/python setup.py dev
|
||||
|
||||
@@ -0,0 +1,2 @@
|
||||
This directory contains scripts that install necessary OS-specific
|
||||
prerequisite dependencies (see docs/using.rst).
|
||||
Executable
+2
@@ -0,0 +1,2 @@
|
||||
#!/bin/sh
|
||||
sudo brew install augeas swig
|
||||
Executable
+10
@@ -0,0 +1,10 @@
|
||||
#!/bin/sh
|
||||
|
||||
# Tested with:
|
||||
# - 12.04 (Travis)
|
||||
# - 14.04 (Vagrant)
|
||||
|
||||
sudo apt-get update
|
||||
sudo apt-get install -y --no-install-recommends \
|
||||
python python-setuptools python-virtualenv python-dev gcc swig \
|
||||
dialog libaugeas0 libssl-dev libffi-dev ca-certificates
|
||||
+2
-5
@@ -23,18 +23,15 @@ Ubuntu
|
||||
|
||||
.. code-block:: shell
|
||||
|
||||
sudo apt-get install python python-setuptools python-virtualenv python-dev \
|
||||
gcc swig dialog libaugeas0 libssl-dev libffi-dev \
|
||||
ca-certificates
|
||||
./bootstrap/ubuntu.sh
|
||||
|
||||
.. Please keep the above command in sync with .travis.yml (before_install)
|
||||
|
||||
Mac OSX
|
||||
-------
|
||||
|
||||
.. code-block:: shell
|
||||
|
||||
sudo brew install augeas swig
|
||||
./bootstrap/mac.sh
|
||||
|
||||
|
||||
Installation
|
||||
|
||||
Reference in New Issue
Block a user