diff --git a/.travis.yml b/.travis.yml index 9076c52f5..7e759fbe8 100644 --- a/.travis.yml +++ b/.travis.yml @@ -14,6 +14,7 @@ before_install: env: global: - GOPATH=/tmp/go + - PATH=$GOPATH/bin:$PATH matrix: - TOXENV=py26 BOULDER_INTEGRATION=1 - TOXENV=py27 BOULDER_INTEGRATION=1 @@ -28,7 +29,7 @@ addons: - le.wtf install: "travis_retry pip install tox coveralls" -before_script: '[ "xxx$BOULDER_INTEGRATION" = "xxx" ] || ./tests/boulder-start.sh amqp' +before_script: '[ "xxx$BOULDER_INTEGRATION" = "xxx" ] || ./tests/boulder-start.sh' script: 'travis_retry tox && ([ "xxx$BOULDER_INTEGRATION" = "xxx" ] || (source .tox/$TOXENV/bin/activate && ./tests/boulder-integration.sh))' after_success: '[ "$TOXENV" == "cover" ] && coveralls' diff --git a/letsencrypt-apache/setup.py b/letsencrypt-apache/setup.py index fac5b6b88..39f4b68e1 100644 --- a/letsencrypt-apache/setup.py +++ b/letsencrypt-apache/setup.py @@ -20,4 +20,5 @@ setup( 'apache = letsencrypt_apache.configurator:ApacheConfigurator', ], }, + include_package_data=True, ) diff --git a/letsencrypt-nginx/setup.py b/letsencrypt-nginx/setup.py index bd8e8976d..92b974974 100644 --- a/letsencrypt-nginx/setup.py +++ b/letsencrypt-nginx/setup.py @@ -19,4 +19,5 @@ setup( 'nginx = letsencrypt_nginx.configurator:NginxConfigurator', ], }, + include_package_data=True, ) diff --git a/letsencrypt/constants.py b/letsencrypt/constants.py index d0c2a3af4..38f3454dd 100644 --- a/letsencrypt/constants.py +++ b/letsencrypt/constants.py @@ -16,7 +16,7 @@ CLI_DEFAULTS = dict( "letsencrypt", "cli.ini"), ], verbose_count=-(logging.WARNING / 10), - server="https://www.letsencrypt-demo.org/acme/new-reg", + server="https://acme-staging.api.letsencrypt.org/acme/new-reg", rsa_key_size=2048, rollback_checkpoints=1, config_dir="/etc/letsencrypt", diff --git a/tests/boulder-start.sh b/tests/boulder-start.sh index 20f64bcce..d988d76c8 100755 --- a/tests/boulder-start.sh +++ b/tests/boulder-start.sh @@ -10,11 +10,5 @@ export GOPATH="${GOPATH:-/tmp/go}" go get -d github.com/letsencrypt/boulder/cmd/boulder cd $GOPATH/src/github.com/letsencrypt/boulder -make -j4 # Travis has 2 cores per build instance. -if [ "$1" = "amqp" ]; -then - ./start.py & -else - ./start.sh & -fi -# Hopefully start.py/start.sh bootstraps before integration test is started... +./start.py & +# Hopefully start.py bootstraps before integration test is started... diff --git a/tests/integration/_common.sh b/tests/integration/_common.sh index be4e75098..8656b8518 100755 --- a/tests/integration/_common.sh +++ b/tests/integration/_common.sh @@ -2,7 +2,9 @@ if [ "xxx$root" = "xxx" ]; then - root="$(mktemp -d)" + # The -t is required on OS X. It provides a template file path for + # the kernel to use. + root="$(mktemp -d -t leitXXXX)" echo "Root integration tests directory: $root" fi store_flags="--config-dir $root/conf --work-dir $root/work"