skip archpkg test on Travis-CI

This commit is contained in:
lilydjwg 2017-02-04 16:29:59 +08:00
parent 5c54947b42
commit 82ca0cff9c
2 changed files with 7 additions and 1 deletions

1
.gitignore vendored
View File

@ -3,6 +3,7 @@ records/
__pycache__/
/build/
.cache/
.eggs/
*.pyc
*.pyo
.travis.pub

View File

@ -1,6 +1,11 @@
import os
import pytest
from tests.helper import ExternalVersionTestCase
@pytest.mark.skipif("TRAVIS" in os.environ,
reason="Travis-CI has issues connecting to the Arch website")
class ArchPKGTest(ExternalVersionTestCase):
def test_archpkg(self):
self.assertEqual(self.sync_get_version("ipw2100-fw", {"archpkg": None}), "1.3-7")