~simpoir/landscape-client-charm/charm_push_target

« back to all changes in this revision

Viewing changes to tests/00-setup

  • Committer: David Britton
  • Date: 2014-12-17 23:42:31 UTC
  • mfrom: (49.1.11 fix-integration-tests)
  • Revision ID: dpb@canonical.com-20141217234231-1mlmxjnv8ghnv8qp
Merging fix-integration-tests. [f=1399312] [r=andreas,blackboxsw]

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#!/bin/bash -xe
 
2
 
 
3
# Check if amulet is installed before adding repository and updating apt-get.
 
4
if ! dpkg -s amulet; then
 
5
    sudo add-apt-repository -y ppa:juju/stable
 
6
    sudo apt-get update
 
7
    sudo apt-get install -y amulet python-flake8 landscape-common
 
8
fi
 
9
 
 
10
# Install any additional python packages or software here.