mirror of
https://github.com/certbot/certbot.git
synced 2026-06-06 07:12:54 -04:00
Bootstrap scripts (fixes: #302)
This commit is contained in:
parent
08b60115e3
commit
12346b368a
6 changed files with 19 additions and 13 deletions
|
|
@ -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"
|
||||
|
|
|
|||
4
Vagrantfile
vendored
4
Vagrantfile
vendored
|
|
@ -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
|
||||
|
|
|
|||
2
bootstrap/README
Normal file
2
bootstrap/README
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
This directory contains scripts that install necessary OS-specific
|
||||
prerequisite dependencies (see docs/using.rst).
|
||||
2
bootstrap/mac.sh
Executable file
2
bootstrap/mac.sh
Executable file
|
|
@ -0,0 +1,2 @@
|
|||
#!/bin/sh
|
||||
sudo brew install augeas swig
|
||||
10
bootstrap/ubuntu.sh
Executable file
10
bootstrap/ubuntu.sh
Executable file
|
|
@ -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
|
||||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue