1. 01 Jan, 2019 2 commits
  2. 26 Dec, 2018 1 commit
  3. 21 Dec, 2018 2 commits
  4. 07 Dec, 2018 1 commit
    • Justin M. Keyes's avatar
      CI/Travis: install gperf using package manager (#9325) · 8b9f6103
      Justin M. Keyes authored
      Install gperf using package manager instead of building it from source.
      When building/installing gperf from source, its install step requires
      `texi2pdf` which randomly goes missing on Travis:
      
          cd doc; /usr/bin/make install
          make[1]: Entering directory '/home/travis/nvim-deps/build/src/gperf/doc'
          cd . && rm -f gperf.aux gperf.toc gperf.cp gperf.fn gperf.ky gperf.pg gperf.tp gperf.vr gperf.log gperf.cps
          cd . && texi2pdf gperf.texi
          /bin/sh: 1: texi2pdf: not found
      
      It's nice to test the "bundled" deps on Travis, but that gets enough
      exercise on Windows and macOS, which are the platforms that actually
      need "bundled" gperf.
      8b9f6103
  5. 28 Nov, 2018 1 commit
  6. 25 Nov, 2018 1 commit
  7. 24 Nov, 2018 2 commits
    • James McCoy's avatar
      Downgrade to clang-4.0 to avoid false-positive warnings from clang · 2cbac719
      James McCoy authored
      * -Wtautological-compare
      
          error: self-comparison always evaluates to true [-Werror,-Wtautological-compare]
          for (win_T *wp = ((curtab) == curtab) ? firstwin : (curtab)->tp_firstwin; wp != ((void*)0); wp = wp->w_next) {
      
      * -Wconversion
      
          error: implicit conversion loses floating-point precision: 'const float_T' (aka 'const double') to 'float' [-Werror,-Wconversion]
                do { const float_T flt_ = (tv->vval.v_float); switch ((sizeof (flt_) == sizeof (float) ? __fpclassifyf (flt_) : sizeof (flt_) == sizeof (double) ? __fpclassify (flt_) : __fpclassifyl (flt_))) { case 0: { ga_concat(gap, (char_u *)(char_u *) "str2float('nan')"); break; } case 1: { if (flt_ < 0) { ga_append(gap, '-'); } ga_concat(gap, (char_u *)(char_u *) "str2float('inf')"); break; } default: { char numbuf[NUMBUFLEN]; vim_snprintf(numbuf, ((sizeof(numbuf)/sizeof((numbuf)[0])) / ((size_t)(!(sizeof(numbuf) % sizeof((numbuf)[0]))))), "%g", flt_); ga_concat(gap, (char_u *)(char_u *) numbuf); } } } while (0);
                                                                                                         ~~~~~~~~~~~~~  ^~~~
      2cbac719
    • Marco Hinz's avatar
      travis: switch from Ubuntu 14.04 to 16.04 · 2f6364ea
      Marco Hinz authored
      Travis is phasing out its support for containers, so we remove the `sudo:
      false`, which will be a no-op soon.
      
      Reference: https://blog.travis-ci.com/2018-11-19-required-linux-infrastructure-migration
      
      Changes for Linux:
      
        - Xenial comes with libtool installed already. It only provides "libtoolize",
          though. For "libtool" we need to install libtool-bin.
      2f6364ea
  8. 13 Oct, 2018 1 commit
    • Justin M. Keyes's avatar
      CI/travis/macOS: fix missing pip3 · 0995f460
      Justin M. Keyes authored
      homebrew or Travis changed something, now `pip3` isn't in $PATH.
      `ls /usr/local/opt/python/libexec/bin` confirmed this, no matter what
      brew reinstall/relink/upgrade are used.
      
      Bumping the macOS image to 10.12 or 10.13 makes the problem go away.
      
          ==> Processing gcc49 formula rename to gcc@4.9
          ==> Unlinking gcc49
          ==> Moving gcc49 versions to /usr/local/Cellar/gcc@4.9
          ==> Relinking gcc@4.9
          Warning: gcc@4.9 is outdated!
          To avoid broken installations, as soon as possible please run:
            brew upgrade
          Or, if you're OK with a less reliable fix:
            brew upgrade gcc@4.9
          python info:
            Python 2.7.12
            Python 2.7.12
            ci/before_install.sh: line 18: python3: command not found
            pip 8.1.2 from /usr/local/lib/python2.7/site-packages (python 2.7)
            pip 8.1.2 from /usr/local/lib/python2.7/site-packages (python 2.7)
            ci/before_install.sh: line 21: pip3: command not found
            pyenv versions:
            * system (set by /Users/travis/.pyenv/version)
          Upgrade Python 3.
          To restore the stashed changes to /usr/local/Homebrew run:
            'cd /usr/local/Homebrew && git stash pop'
          ==> Caveats
          Python has been installed as
            /usr/local/bin/python3
          Unversioned symlinks `python`, `python-config`, `pip` etc. pointing to
          `python3`, `python3-config`, `pip3` etc., respectively, have been installed into
            /usr/local/opt/python/libexec/bin
          If you need Homebrew's Python 2.7 run
            brew install python@2
          Pip, setuptools, and wheel have been installed. To update them run
            pip3 install --upgrade pip setuptools wheel
          You can install Python packages with
            pip3 install <package>
          They will install into the site-package directory
            /usr/local/lib/python3.7/site-packages
          See: https://docs.brew.sh/Homebrew-and-Python
          ==> Summary
          º  /usr/local/Cellar/python/3.7.0: 8,864 files, 153.8MB, built in 6 minutes 32 seconds
          ...
          Upgrade Python 3 pip.
          ci/before_install.sh: line 30: pip3: command not found
          travis_time:end:0d23f522:start=1538818824750644000,finish=1538819451424021000,duration=626673377000
          The command "ci/before_install.sh" failed and exited with 127 during .
          Your build has been stopped.
          /Users/travis/.travis/job_stages: line 373: shell_session_update: command not found
      
          ==> Processing gcc49 formula rename to gcc@4.9
          ==> Unlinking gcc49
          ==> Moving gcc49 versions to /usr/local/Cellar/gcc@4.9
          ==> Relinking gcc@4.9
          Warning: gcc@4.9 is outdated!
          To avoid broken installations, as soon as possible please run:
            brew upgrade
          Or, if you're OK with a less reliable fix:
            brew upgrade gcc@4.9
          python info:
            Python 2.7.12
            Python 2.7.12
            ci/before_install.sh: line 18: python3: command not found
            pip 8.1.2 from /usr/local/lib/python2.7/site-packages (python 2.7)
            pip 8.1.2 from /usr/local/lib/python2.7/site-packages (python 2.7)
            ci/before_install.sh: line 21: pip3: command not found
            pyenv versions:
            * system (set by /Users/travis/.pyenv/version)
          Upgrade Python 3.
          To restore the stashed changes to /usr/local/Homebrew run:
            'cd /usr/local/Homebrew && git stash pop'
          ==> Caveats
          Python has been installed as
            /usr/local/bin/python3
          Unversioned symlinks `python`, `python-config`, `pip` etc. pointing to
          `python3`, `python3-config`, `pip3` etc., respectively, have been installed into
            /usr/local/opt/python/libexec/bin
          If you need Homebrew's Python 2.7 run
            brew install python@2
          Pip, setuptools, and wheel have been installed. To update them run
            pip3 install --upgrade pip setuptools wheel
          You can install Python packages with
            pip3 install <package>
          They will install into the site-package directory
            /usr/local/lib/python3.7/site-packages
          See: https://docs.brew.sh/Homebrew-and-Python
          ==> Summary
          º  /usr/local/Cellar/python/3.7.0: 8,864 files, 153.8MB, built in 6 minutes 32 seconds
          ...
          Upgrade Python 3 pip.
          ci/before_install.sh: line 30: pip3: command not found
          travis_time:end:0d23f522:start=1538818824750644000,finish=1538819451424021000,duration=626673377000
          The command "ci/before_install.sh" failed and exited with 127 during .
          Your build has been stopped.
          /Users/travis/.travis/job_stages: line 373: shell_session_update: command not found
      0995f460
  9. 05 Jun, 2018 1 commit
    • Justin M. Keyes's avatar
      build/CMake: find_package(… REQUIRED) · 21c9db18
      Justin M. Keyes authored
      "Always use `find_package` with `REQUIRED`."
      
      - We make an exception for LuaJit (not REQUIRED): the `nvim-test` target
        is included only if we can find LuaJit.
      
      This is partially a cargo-cult (reference below), but it uncovered at
      least one problem: `find_package(LibIntl REQUIRED)` fails on my vanilla
      ubuntu 16.04 system.
      
      ref: https://schneide.blog/2017/11/06/4-tips-for-better-cmake/
      
      > optional dependencies is nice, but skipping on REQUIRED is not the way
      > you want to do it. In the worst case, some of your features will just
      > not work if those packages are not found, with no explanation
      > whatsoever. Instead, use explicit feature-toggles (e.g. using option())
      > that either skip the find_package call or use it with REQUIRED, so the
      > user will know that another lib is needed for this feature.
      21c9db18
  10. 06 May, 2018 2 commits
  11. 01 May, 2018 1 commit
  12. 18 Mar, 2018 1 commit
  13. 11 Mar, 2018 3 commits
    • Justin M. Keyes's avatar
      b0b656dd
    • Justin M. Keyes's avatar
      ci/macOS: skip python2 on travis macOS · 45e81e03
      Justin M. Keyes authored
      macOS travis builds recently started failing (travis caches were cleared
      recently, maybe related). python2 is reasonably covered by linux CI. Not
      going to waste time on it for macOS CI.
      
          ==> Installing python@2
          ==> Downloading https://homebrew.bintray.com/bottles/python@2-2.7.14_3.el_capita
          ==> Pouring python@2-2.7.14_3.el_capitan.bottle.tar.gz
          Error: The `brew link` step did not complete successfully
          The formula built, but is not symlinked into /usr/local
          Could not symlink bin/2to3-2
          Target /usr/local/bin/2to3-2
          is a symlink belonging to python. You can unlink it:
            brew unlink python
          To force the link and overwrite all conflicting files:
            brew link --overwrite python@2
          To list all files that would be deleted:
            brew link --overwrite --dry-run python@2
          Possible conflicting files are:
          /usr/local/bin/2to3-2 -> /usr/local/Cellar/python/2.7.12_1/bin/2to3-2
          /usr/local/bin/2to3-2.7 -> /usr/local/Cellar/python/2.7.12_1/bin/2to3-2.7
          /usr/local/bin/idle -> /usr/local/Cellar/python/2.7.12_1/bin/idle
          ...
      45e81e03
    • Justin M. Keyes's avatar
      ci/travis: use ninja instead of make · 968c7ab1
      Justin M. Keyes authored
      968c7ab1
  14. 04 Mar, 2018 1 commit
    • Marco Hinz's avatar
      ci: the homebrew formula for Python 3 was renamed (#8094) · 90fc7c6a
      Marco Hinz authored
      Homebrew changed a few formulae to meet their standards. "python3" was renamed
      to "python", and "python2" to "python@2".
      
      As for why, read this announcement: https://brew.sh/2018/01/19/homebrew-1.5.0
      
      Since we install Python 3 via homebrew anyway, we now do the same for Python 2
      as well. We do that because the system Python 2 of macOS comes without pip
      installed and this way seems cleaner than doing "sudo easy_install pip".
      
      The Python 2 formula is keg-only now, so it doesn't interfere with the system
      Python 2. Therefore we have to add its executables to $PATH ourselves.
      90fc7c6a
  15. 02 Feb, 2018 1 commit
  16. 10 Jan, 2018 1 commit
  17. 02 Jan, 2018 3 commits
  18. 03 Dec, 2017 1 commit
  19. 30 Nov, 2017 1 commit
  20. 13 Aug, 2017 2 commits
  21. 15 Jun, 2017 1 commit
  22. 06 Jun, 2017 2 commits
  23. 14 May, 2017 1 commit
    • James McCoy's avatar
      ci: Enable staged builds (#6739) · 6e4e70f5
      James McCoy authored
      This should better allow distributing the load among PRs, while getting
      critical feedback to the submitter sooner.
      
      First stage runs the ASAN/UBSAN/TSAN since any failures in those are
      gating issues.
      
      Second stage runs the rest of the normal builds in parallel.
      
      Remaining stages provide lower priority feedback.  The lint build runs
      fast locally, so it's better to run that locally than wait on CI.  The
      coverage build is pretty fickle, so it is only run once all other jobs
      are green.
      6e4e70f5
  24. 13 May, 2017 1 commit
    • Florian Walch's avatar
      cmake: Support building without LuaJIT. #6736 · 7383274f
      Florian Walch authored
      Compile `nvim` executable against Lua if PREFER_LUA=ON.
      
      As the testing library `nvim-test` requires LuaJIT, it is
      still compiled against LuaJIT. If LuaJIT is not available,
      `nvim-test` is not built.
      7383274f
  25. 02 May, 2017 1 commit
  26. 11 Apr, 2017 1 commit
  27. 10 Apr, 2017 1 commit
  28. 09 Apr, 2017 1 commit
    • ZyX's avatar
      tests: Use our own output handler on travis · d909724d
      ZyX authored
      Reasoning:
      
      1. gtest is better then something like utfTerminal, yet it is way too verbose.
      2. gtest cannot be configured to show colors always.
      3. Actually I am going to add a CMake target which will allow running tests 
         (especially, functional tests) in parallel, but this is not going to work 
         well with any of the default output handlers. Build in this case must be more 
         or less silent, yet debuggable. New handler does not support this in this 
         commit though.
      d909724d
  29. 06 Apr, 2017 1 commit
  30. 31 Mar, 2017 1 commit