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