<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.yoctoproject.org/wiki/index.php?action=history&amp;feed=atom&amp;title=Toaster_travis_testing</id>
	<title>Toaster travis testing - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.yoctoproject.org/wiki/index.php?action=history&amp;feed=atom&amp;title=Toaster_travis_testing"/>
	<link rel="alternate" type="text/html" href="https://wiki.yoctoproject.org/wiki/index.php?title=Toaster_travis_testing&amp;action=history"/>
	<updated>2026-05-17T15:12:55Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.39.5</generator>
	<entry>
		<id>https://wiki.yoctoproject.org/wiki/index.php?title=Toaster_travis_testing&amp;diff=19365&amp;oldid=prev</id>
		<title>Michael Wood at 15:08, 6 July 2016</title>
		<link rel="alternate" type="text/html" href="https://wiki.yoctoproject.org/wiki/index.php?title=Toaster_travis_testing&amp;diff=19365&amp;oldid=prev"/>
		<updated>2016-07-06T15:08:56Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 15:08, 6 July 2016&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l1&quot;&gt;Line 1:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;When a patch comes in on the mailing list a bot monitoring patchwork using git-pw checks out poky-contrib toaster-next and applies the patches it also applies a patch to add a .travis.yml file to the root of the repository. These then get pushed to a &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;github &lt;/del&gt;https://github.com/toastertester/toaster-next repository and the travis CI system then triggers these tests.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;When a patch comes in on the mailing list a bot monitoring patchwork using &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;[http://patchwork-freedesktop.readthedocs.io/en/latest/testing.html#git-pw-helper-commands &lt;/ins&gt;git-pw&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;] &lt;/ins&gt;checks out poky-contrib toaster-next and applies the patches it also applies a patch to add a .travis.yml file to the root of the repository. These then get pushed to a &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;[&lt;/ins&gt;https://github.com/toastertester/toaster-next &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;github] &lt;/ins&gt;repository and the travis CI system then triggers these tests.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;.travis.yml&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;.travis.yml&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Michael Wood</name></author>
	</entry>
	<entry>
		<id>https://wiki.yoctoproject.org/wiki/index.php?title=Toaster_travis_testing&amp;diff=19364&amp;oldid=prev</id>
		<title>Michael Wood: Created page with &quot;When a patch comes in on the mailing list a bot monitoring patchwork using git-pw checks out poky-contrib toaster-next and applies the patches it also applies a patch to add a...&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.yoctoproject.org/wiki/index.php?title=Toaster_travis_testing&amp;diff=19364&amp;oldid=prev"/>
		<updated>2016-07-06T14:59:58Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;When a patch comes in on the mailing list a bot monitoring patchwork using git-pw checks out poky-contrib toaster-next and applies the patches it also applies a patch to add a...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;When a patch comes in on the mailing list a bot monitoring patchwork using git-pw checks out poky-contrib toaster-next and applies the patches it also applies a patch to add a .travis.yml file to the root of the repository. These then get pushed to a github https://github.com/toastertester/toaster-next repository and the travis CI system then triggers these tests.&lt;br /&gt;
&lt;br /&gt;
.travis.yml&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
language: python&lt;br /&gt;
python: &amp;quot;3.5&amp;quot;&lt;br /&gt;
&lt;br /&gt;
sudo: required # We don&amp;#039;t actually need sudo but this forces the selection of the trusty beta image&lt;br /&gt;
dist: trusty # We have to use trusty for the newer glibc that is needed by geckodriver&lt;br /&gt;
&lt;br /&gt;
addons:&lt;br /&gt;
  firefox: &amp;quot;47.0&amp;quot;&lt;br /&gt;
&lt;br /&gt;
cache: pip&lt;br /&gt;
&lt;br /&gt;
git:&lt;br /&gt;
  depth: 3&lt;br /&gt;
&lt;br /&gt;
install:&lt;br /&gt;
  - virtualenv --python=python3 $HOME/virtualenv/&lt;br /&gt;
  - virtualenv --python=python2 $HOME/virtualenv/&lt;br /&gt;
  - source $HOME/virtualenv/bin/activate&lt;br /&gt;
  - pip3 install -r ./bitbake/toaster-requirements.txt&lt;br /&gt;
  - pip3 install -r ./bitbake/lib/toaster/tests/toaster-tests-requirements.txt&lt;br /&gt;
  - pip3 install flake8&lt;br /&gt;
  - export DISPLAY=:99.0&lt;br /&gt;
  - sh -e /etc/init.d/xvfb start&lt;br /&gt;
  - sleep 3 # give xvfb some time to start&lt;br /&gt;
  - mkdir $HOME/bin/&lt;br /&gt;
  - curl -L https://github.com/mozilla/geckodriver/releases/download/v0.8.0/geckodriver-0.8.0-linux64.gz | zcat &amp;gt; $HOME/bin/wires&lt;br /&gt;
  - chmod +x $HOME/bin/wires&lt;br /&gt;
&lt;br /&gt;
before_script:&lt;br /&gt;
  - export PATH=$PATH:$HOME/bin/&lt;br /&gt;
  - export TOASTER_TESTS_BROWSER=marionette&lt;br /&gt;
  - firefox --version&lt;br /&gt;
  - env&lt;br /&gt;
  - wires --help # verify binary runs OK&lt;br /&gt;
&lt;br /&gt;
script:&lt;br /&gt;
  - ./bitbake/lib/toaster/manage.py test tests.browser&lt;br /&gt;
  - ./bitbake/lib/toaster/manage.py test toastergui&lt;br /&gt;
  - flake8 ./bitbake/lib/toaster/ --select F --exit-zero # We have too many errors at the moment&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;/div&gt;</summary>
		<author><name>Michael Wood</name></author>
	</entry>
</feed>