File: .travis.yml

package info (click to toggle)
lua-nvim 0.1.0-1-2
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, sid
  • size: 180 kB
  • sloc: makefile: 70; ansic: 32
file content (37 lines) | stat: -rw-r--r-- 1,258 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
dist: trusty
sudo: false
language: c

env:
  global:
    - DEPS_INSTALL_PREFIX="${TRAVIS_BUILD_DIR}/.deps"
    - NVIM_INSTALL_PREFIX="${DEPS_INSTALL_PREFIX}/nvim"
    - NVIM_PROG="${NVIM_INSTALL_PREFIX}/bin/nvim"
    # Travis has 1.5 virtual cores.
    # http://docs.travis-ci.com/user/speeding-up-the-build/#Paralellizing-your-build-on-one-VM
    - MAKE_CMD="make -j2"
    - DEPS_PREFIX=${DEPS_INSTALL_PREFIX}
    - DEPS_INCLUDE_FLAGS="-I${DEPS_INSTALL_PREFIX}/include -I${DEPS_INSTALL_PREFIX}/include/luajit-2.0"
    - LUA=${DEPS_INSTALL_PREFIX}/bin/luajit
    # Cache marker for dependencies cache: indicates that the cache exists
    # and has pre-built dependencies.
    - CACHE_MARKER="$HOME/.cache/nvim-deps/.travis_cache_marker"
    # Test success marker: indicates that all tests were successful.
    # Required because we only want to update the cache if the tests were
    # successful, but don't have this information available in before_cache
    # (which is run before after_success).
    - SUCCESS_MARKER="$TRAVIS_BUILD_DIR/.tests_successful"

script:         .ci/script.sh
before_cache:   .ci/before_cache.sh

cache:
  apt: true
  directories:
    - "$HOME/.cache/pip"
    - "$HOME/.cache/nvim-deps"

addons:
  apt:
    packages:
      - gdb