emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] externals/phps-mode b7b778b 379/405: Updated Travis CI build scri


From: Stefan Monnier
Subject: [elpa] externals/phps-mode b7b778b 379/405: Updated Travis CI build script
Date: Sat, 13 Jul 2019 10:00:57 -0400 (EDT)

branch: externals/phps-mode
commit b7b778b8dd18e33fb5b85bfb533124bf43fa0d69
Author: Christian Johansson <address@hidden>
Commit: Christian Johansson <address@hidden>

    Updated Travis CI build script
---
 .travis.yml | 33 +++++++++++++--------------------
 1 file changed, 13 insertions(+), 20 deletions(-)

diff --git a/.travis.yml b/.travis.yml
index 97cac42..f477108 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -1,29 +1,22 @@
 language: emacs-lisp
-sudo: required
-env:
-  matrix:
-    - EMACS_VERSION=emacs-24.4-bin
-    - EMACS_VERSION=emacs-24.5-bin
-    - EMACS_VERSION=emacs-snapshot
 
+dist: trusty
 before_install:
-  # Use the ubuntu emacs teams regularly updated snapshot packages.
-  - if [ "$EMACS_VERSION" = 'emacs-snapshot' ]; then
-      sudo add-apt-repository -y ppa:ubuntu-elisp/ppa &&
-      sudo apt-get update -qq &&
-      sudo apt-get install -qq $EMACS_VERSION &&
-      sudo apt-get install -qq emacs-snapshot-el emacs-snapshot-nox;
-    fi
+  - git clone https://github.com/rejeep/evm.git $HOME/.evm
+  - export PATH=$HOME/.evm/bin:$PATH
+  - evm config path /tmp
+  - evm install $EVM_EMACS --use --skip
+
+env:
+  - EVM_EMACS=emacs-25.1-travis
+  - EVM_EMACS=emacs-26.1-travis
+  - EVM_EMACS=emacs-git-snapshot-travis
 
-  # Use emacs version manager for all other versions.
-  - sudo mkdir /usr/local/evm
-  - sudo chown travis:travis /usr/local/evm
-  - export PATH="/home/travis/.evm/bin:$PATH"
-  - curl -fsSkL https://raw.github.com/cjohansson/phps-mode/master/go | bash
-  - evm install $EMACS_VERSION --use || true
+matrix:
+  allow_failures:
+    - env: EVM_EMACS=emacs-git-snapshot-travis
 
 script:
-  # Make sure the exact emacs version can be found in the build output.
   - emacs -Q --batch --eval '(message (emacs-version))'
   - make tests
 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]