John Vandenberg has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/189635

Change subject: Only use apt-get for PYSETUP_TEST_EXTRAS
......................................................................

Only use apt-get for PYSETUP_TEST_EXTRAS

Saves ~10s per build

Change-Id: Ie9585a26a9e94f6d1014a6cdbcb74faf4a56758e
---
M .travis.yml
1 file changed, 2 insertions(+), 2 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/pywikibot/core 
refs/changes/35/189635/1

diff --git a/.travis.yml b/.travis.yml
index fc2a251..addcc33 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -8,8 +8,8 @@
   - '2.6'
 
 before_install:
-  - sudo apt-get update -qq
-  - sudo apt-get install -y liblua5.1-dev
+  - if [[ "$PYSETUP_TEST_EXTRAS" == "1" ]]; then sudo apt-get update -qq; fi
+  - if [[ "$PYSETUP_TEST_EXTRAS" == "1" ]]; then sudo apt-get install -y 
liblua5.1-dev; fi
 
 install:
   - if [[ "$SITE_ONLY" == '1' ]]; then export USE_NOSE=1; fi

-- 
To view, visit https://gerrit.wikimedia.org/r/189635
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ie9585a26a9e94f6d1014a6cdbcb74faf4a56758e
Gerrit-PatchSet: 1
Gerrit-Project: pywikibot/core
Gerrit-Branch: master
Gerrit-Owner: John Vandenberg <[email protected]>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to