r600/sb: use safe math optimizations when TGSI contains precise operations
[mesa.git] / .travis.yml
index 90f9ec40e12cefea994f2ddaeb3a0ce721921f82..895030cc1bcd834840d9c7e4d1cfff755ff4aa62 100644 (file)
@@ -53,6 +53,7 @@ matrix:
             - xz-utils
             - libexpat1-dev
             - libelf-dev
+            - python3.5
             - python3-pip
     - env:
         - LABEL="meson loaders/classic DRI"
@@ -69,6 +70,7 @@ matrix:
             - libx11-xcb-dev
             - libxdamage-dev
             - libxfixes-dev
+            - python3.5
             - python3-pip
     - env:
         - LABEL="make loaders/classic DRI"
@@ -490,10 +492,11 @@ before_install:
 
 install:
   # Install a more modern meson from pip, since the version in the
-  # ubuntu repos is often quite old. Avoid >=0.45.0 as it needs python
-  # 3.5+
+  # ubuntu repos is often quite old. This requires python>=3.5, so
+  # let's make it default
   - if test "x$BUILD" = xmeson; then
-      pip3 install --user "meson<0.45.0";
+      sudo update-alternatives --install /usr/bin/python3 python3 /usr/bin/python3.5 10;
+      pip3 install --user meson;
       pip3 install --user mako;
     fi