Debian Codegraph @

.travis.yml

raw symbols SCIP
1 language: go
2 os:
3 - linux
4 go_import_path: github.com/purpleidea/mgmt
5 sudo: true
6 dist: xenial
7 # travis requires that you update manually, and provides this key to trigger it
8 apt:
9 update: true
10 before_install:
11 # print some debug information to help catch the constant travis regressions
12 - if [ -e /etc/apt/sources.list.d/ ]; then sudo ls -l /etc/apt/sources.list.d/; fi
13 # workaround broken travis NO_PUBKEY errors
14 - if [ -e /etc/apt/sources.list.d/rabbitmq_rabbitmq-server.list ]; then sudo rm -f /etc/apt/sources.list.d/rabbitmq_rabbitmq-server.list; fi
15 - if [ -e /etc/apt/sources.list.d/github_git-lfs.list ]; then sudo rm -f /etc/apt/sources.list.d/github_git-lfs.list; fi
16 # as per a number of comments online, this might mitigate some flaky fails...
17 - if [[ "$TRAVIS_OS_NAME" != "osx" ]]; then sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv 0C49F3730359A14518585931BC711F9BA15703C6; fi
18 # apt update tends to be flaky in travis, retry up to 3 times on failure
19 # https://docs.travis-ci.com/user/common-build-problems/#travis_retry
20 - if [[ "$TRAVIS_OS_NAME" != "osx" ]]; then travis_retry travis_retry sudo apt update; fi
21 - git config remote.origin.fetch "+refs/heads/*:refs/remotes/origin/*"
22 - git fetch --unshallow
23 install: 'make deps'
24 matrix:
25 fast_finish: false
26 allow_failures:
27 - go: 1.22.x
28 - go: tip
29 - os: osx
30 # include only one build for osx for a quicker build as the nr. of these runners are sparse
31 include:
32 - name: "basic tests"
33 go: 1.21.x
34 env: TEST_BLOCK=basic
35 - name: "shell tests"
36 go: 1.21.x
37 env: TEST_BLOCK=shell
38 - name: "race tests"
39 go: 1.21.x
40 env: TEST_BLOCK=race
41 - go: 1.22.x
42 - go: tip
43 - os: osx
44 script: 'TEST_BLOCK="$TEST_BLOCK" make test'
45
46 # the "secure" channel value is the result of running: ./misc/travis-encrypt.sh
47 # with a value of: irc.freenode.net#mgmtconfig to eliminate noise from forks...
48 notifications:
49 irc:
50 #channels:
51 # - secure: htcuWAczm3C1zKC9vUfdRzhIXM1vtF+q0cLlQFXK1IQQlk693/pM30Mmf2L/9V2DVDeps+GyLdip0ARXD1DZEJV0lK+Ca1qbHdFP1r4Xv6l5+jaDb5Y88YU5LI8K758QShiZJojuQ1aO2j8xmmt9V0/5y5QwlpPeHbKYBOFPBX3HvlT9DhvwZNKGhBb4qJOEaPVOwq9IkN3DyQ456MHcJ3q3vF9Lb440uTuLsJNof2AbYZH8ZIHCSG2N8tBj2qhJOpWQboYtQJzE2pRaGkGBL4kYcHZSZMXX8sl4cBM1vx/IRUkvBxJUpLJz2gn/eRI+/gr59juZE2K0+FOLlx9dLnX626Y9xSViopBI6JsIoHJDqNC7aGaF2qaYulGYN65VNKVqmghjgt6JLmmiKeH10hYrJMMvt2rms8l4+5iwmCwXvhH/WU9edzk2p5wqERMnostJFEJib0zI3yzLoF0sdJs+veKtagzfayY2d2l7hlmt951IpqqVWldVgWUcQKVvi8gmRarbwFlK+5D7BEnkUDcLNly/cqf7BgEeX6YfF+FiR4pgfOhYvGCD+2q91NgWQXHBCxbyN0be1TVdkXD94f0Lkn94VyEJJ+PkPlG+rPgFwGcjqN4oEGkJeJmES2If05q2Ms1dJLwYQDL3+Py4lNMSdSWj24TzlFVhtwHepuw=
52 template:
53 - "%{repository} (%{commit}: %{author}): %{message}"
54 - "More info : %{build_url}"
55 on_success: always
56 on_failure: always
57 use_notice: false
58 skip_join: false
59 email:
60 recipients:
61 - secure: qNkgP6QLl6VXpFQIxas2wggxvIiOmm1/hGRXm4BXsSFzHsJPvMamA3E1HEC7H+luiWTny1jtGSGgTJPV9CX1LtQV0g0S4ThaAvWuKvk3rXO8IVd++iA/Lh1s1H6JdKM0dJtLqFICawjeci4tOQzSvrM2eCBWqT0UYsrQsGHB6AF31GNAH0Acqd5cYeL+ZpbCN+hQEznAZQ7546N25TwqieI8Lg7nisA+lwYYwsaC2+f5RIeyvvKjQv3wzEdBAQ9CI9WQiTOUBnUnyYxMrdomQ/XGF66QnZy9vq5nEP83IFtuhPvSamL7ceT+yJW0jDyBi8sYEV7On7eXzjyHbiYpF4YHcJrFnf5RyV4kQGd6/SC8iZwK4Is4eyeAjDFTC+JafLajw9R9x9bK43BwlRAWOZxjFKe0cU/BVAjmlz87vHgUho2P41+0a5XfajfU6VhA5QFPK6rNH7W1CnA7D/0LmS0yaqJM1OCrm6LfoZEMhe0DxTJ9uWJbr0x1sYao6q8H4xYk+fyRgoBAr2TxYU7kXx8ThiRdzuQ8izdbojlzTYLe8liZMIsjL0axLsLK7YBWrjJUcDFDjR/DqmVxPrvbVFbCi9ChmBw0WmbJvDY0FV8T8dO8wCjg9JEmprAmWPyq0g/F87LFK4tAZqQFJGjP1qwsR9jdwdNTKeCdY656f/Y=
62 on_failure: change
63 on_success: change