Clean up the lxc building in travis #327

Merged
merged 1 commit into from Mar 1, 2016

Conversation

Projects
None yet
3 participants
Member

elopio commented Feb 18, 2016

No description provided.

Member

elopio commented Feb 18, 2016

I want to clean up the things that I left pending on the travis file. This is going to be a slow task, so please ignore for now.

Collaborator

sergiusens commented Feb 26, 2016

Bug in commit? Or just an experiment?

Member

elopio commented Feb 26, 2016

Started as an experiment, mutated to reduce the deps. Let me report a bug.

Collaborator

sergiusens commented Feb 26, 2016

rebase!

# Mount the repository directory in the container.
- sudo lxc config device add xenial /dev/sda1 disk source=$(pwd) path=$(pwd)
# Install the snapcraft dependencies.
- sudo lxc exec xenial -- apt-get update
- - sudo lxc exec xenial -- apt-get install -y lxd pyflakes python-flake8 python3.5 python3-apt python3-docopt python3-coverage python3-fixtures python3-flake8 python3-jsonschema python3-mccabe python3-mock python3-pep8 python3-pexpect python3-pip python3-requests python3-requests-oauthlib python3-responses python3-ssoclient python3-testscenarios python3-testtools python3-xdg python3-yaml python3-lxml squashfs-tools python3-progressbar python3-requests-toolbelt python3-petname
+ - sudo lxc exec xenial -- apt-get install -y devscripts equivs
+ - sudo lxc exec xenial -- mk-build-deps --install --tool "apt-get -y" --build-dep $(pwd)/debian/control
@kyrofa

kyrofa Mar 1, 2016

Member

Ah, slick!

Member

kyrofa commented Mar 1, 2016

Yeah looks good to me 👍

kyrofa added a commit that referenced this pull request Mar 1, 2016

Merge pull request #327 from elopio/clean-travis-lxc
Clean up the lxc building in travis

@kyrofa kyrofa merged commit 4f342a6 into snapcore:master Mar 1, 2016

4 checks passed

Examples tests Success 13 tests run, 0 skipped, 0 failed.
Details
autopkgtest Success No test results found.
Details
continuous-integration/travis-ci/pr The Travis CI build passed
Details
coverage/coveralls Coverage decreased (-0.0%) to 94.752%
Details

@elopio elopio deleted the elopio:clean-travis-lxc branch Mar 1, 2016

smoser pushed a commit to smoser/snapcraft that referenced this pull request Sep 14, 2016

Merge pull request #327 from Azure/develop
Merge 2.1.5 bits from develop

kalikiana pushed a commit to kalikiana/snapcraft that referenced this pull request Apr 6, 2017

Merge pull request #327 from elopio/clean-travis-lxc
Clean up the lxc building in travis
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment