airflow-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bo...@apache.org
Subject [1/2] incubator-airflow git commit: [AIRFLOW-507] Use Travis' ubuntu trusty for CI
Date Sun, 13 Nov 2016 22:02:23 GMT
Repository: incubator-airflow
Updated Branches:
  refs/heads/master 6adb15ca0 -> 910c0ddd7


[AIRFLOW-507] Use Travis' ubuntu trusty for CI

Travis' ubuntu trusty provides a more up to date
environment for CI. It allows for better testing
by integration more services like kerberos and
celery. Also it comes closer to actual production
environments (e.g. MySQL 5.6).


Project: http://git-wip-us.apache.org/repos/asf/incubator-airflow/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-airflow/commit/d12ef6ff
Tree: http://git-wip-us.apache.org/repos/asf/incubator-airflow/tree/d12ef6ff
Diff: http://git-wip-us.apache.org/repos/asf/incubator-airflow/diff/d12ef6ff

Branch: refs/heads/master
Commit: d12ef6ffc00fdcf7c404f6680f6de2f39582b170
Parents: 6adb15c
Author: Bolke de Bruin <bolke@xs4all.nl>
Authored: Mon Sep 12 15:10:58 2016 +0200
Committer: Bolke de Bruin <bolke@xs4all.nl>
Committed: Sun Nov 13 22:43:16 2016 +0100

----------------------------------------------------------------------
 .travis.yml | 10 +++++++++-
 tox.ini     |  1 +
 2 files changed, 10 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-airflow/blob/d12ef6ff/.travis.yml
----------------------------------------------------------------------
diff --git a/.travis.yml b/.travis.yml
index 0b52183..6e844d7 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -11,7 +11,8 @@
 # See the License for the specific language governing permissions and
 # limitations under the License.
 
-sudo: false
+sudo: true
+dist: trusty
 language: python
 jdk: oraclejdk7
 services:
@@ -23,6 +24,10 @@ addons:
       - slapd
       - ldap-utils
       - openssh-server
+      - mysql-server-5.6
+      - mysql-client-core-5.6
+      - mysql-client-5.6
+      - krb5-user
   postgresql: "9.2"
 python:
   - "2.7"
@@ -30,6 +35,9 @@ python:
 env:
   global:
     - TRAVIS_CACHE=$HOME/.travis_cache/
+    # Travis on google cloud engine has a global /etc/boto.cfg that
+    # does not work with python 3
+    - BOTO_CONFIG=/tmp/bogusvalue
   matrix:
     - TOX_ENV=py27-cdh-airflow_backend_mysql
     - TOX_ENV=py27-cdh-airflow_backend_sqlite

http://git-wip-us.apache.org/repos/asf/incubator-airflow/blob/d12ef6ff/tox.ini
----------------------------------------------------------------------
diff --git a/tox.ini b/tox.ini
index 3003292..f447659 100644
--- a/tox.ini
+++ b/tox.ini
@@ -57,6 +57,7 @@ passenv =
     TRAVIS_CACHE
     TRAVIS_PULL_REQUEST
     PATH
+    BOTO_CONFIG
 commands =
   pip wheel -w {homedir}/.wheelhouse -f {homedir}/.wheelhouse -r scripts/ci/requirements.txt
   pip install --find-links={homedir}/.wheelhouse --no-index -r scripts/ci/requirements.txt


Mime
View raw message