"Fossies" - the Fresh Open Source Software Archive

Member "fd-8.1.1/.travis.yml" (25 May 2020, 3546 Bytes) of package /linux/privat/fd-8.1.1.tar.gz:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) Ansible YAML source code syntax highlighting (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file. See also the last Fossies "Diffs" side-by-side code changes report for ".travis.yml": 8.0.0_vs_8.1.0.

    1 language: rust
    2 matrix:
    3   include:
    4     # Stable channel.
    5     - os: linux
    6       rust: stable
    7       env: TARGET=x86_64-unknown-linux-gnu
    8     - os: linux
    9       rust: stable
   10       env: TARGET=x86_64-unknown-linux-musl
   11     - os: linux
   12       rust: stable
   13       env: TARGET=i686-unknown-linux-gnu
   14     - os: linux
   15       rust: stable
   16       env: TARGET=i686-unknown-linux-musl
   17     - os: osx
   18       osx_image: xcode11.4 # Catalina
   19       rust: stable
   20       env: TARGET=x86_64-apple-darwin
   21     - os: linux
   22       rust: stable
   23       env:
   24         - TARGET=arm-unknown-linux-gnueabihf
   25         - CC_arm_unknown_linux_gnueabihf=/usr/bin/arm-linux-gnueabihf-gcc-4.8
   26         - CARGO_TARGET_ARM_UNKNOWN_LINUX_GNUEABIHF_LINKER=arm-linux-gnueabihf-gcc-4.8
   27     - os: linux
   28       rust: stable
   29       env:
   30         - TARGET=arm-unknown-linux-musleabihf
   31         - CARGO_TARGET_ARM_UNKNOWN_LINUX_MUSLEABIHF_LINKER=arm-linux-gnueabihf-gcc-4.8
   32 
   33     # Beta channel.
   34     - os: linux
   35       rust: beta
   36       env: TARGET=x86_64-unknown-linux-gnu
   37 
   38     # Minimum Rust supported channel.
   39     - os: linux
   40       rust: 1.36.0
   41       env: TARGET=x86_64-unknown-linux-gnu
   42     - os: linux
   43       rust: 1.36.0
   44       env: TARGET=x86_64-unknown-linux-musl
   45     - os: linux
   46       rust: 1.36.0
   47       env: TARGET=i686-unknown-linux-gnu
   48     - os: linux
   49       rust: 1.36.0
   50       env: TARGET=i686-unknown-linux-musl
   51     - os: osx
   52       rust: 1.36.0
   53       env: TARGET=x86_64-apple-darwin
   54 
   55 sudo: required
   56 
   57 before_install:
   58   - ci/before_install.bash
   59 
   60 env:
   61   global:
   62     # Default target on travis-ci.
   63     # Used as conditional check in the install stage
   64     - HOST=x86_64-unknown-linux-gnu
   65     # Used on the deployment script
   66     - PROJECT_NAME=fd
   67 
   68 install:
   69   # prevent target re-add error from rustup
   70   - if [[ $TRAVIS_OS_NAME = linux && $HOST != $TARGET ]]; then rustup target add $TARGET; fi
   71 
   72 script:
   73   - ci/script.bash
   74 
   75 before_deploy:
   76   - bash ci/before_deploy.bash
   77 
   78 deploy:
   79   provider: releases
   80   # NOTE updating the `api_key.secure`
   81   # - go to: https://github.com/settings/tokens/new
   82   # - generate new token using `public_repo` scope
   83   # - encrypt it using: `travis encrypt API_KEY_HERE`
   84   # - paste the output below
   85   api_key:
   86     secure: "RyFdh2lpDmaNhPar7ezsb18Xz+6XFM40y7cZCDRML+Sk+eYK1xtDNfEhDRJU5Qo1ReVsByds/QJTSXr2KmZPk3lXwG3SiN7UtrLUxCxFr6qrcM/iujlKTf5UxeRklkzPXxnH95DEyEgxvgbVhWTGVDWoyMnrVQXZKDy6z1iAiYB5h2Zl1rs+MRb/Enlt5q6XIKAlG0ppGtl8CfYudq5ZiqfJaMWTt9SWm2YskC8FeMc0S3IM6/EhTvaNYLdaarFqVWQEVql+6oCuL3ayPzmGyxLdxM37tIMNQ0f97zxqWodacXTG5ULdRD8if1l/SmTujrtjbZ0KWRjsjOq4vBtxBJKGdprcSiB0xH/hToqqtTSO0z5FPXi5cB8UlK6YLDDHcP3kXNer8CYMLI1VPaUDLTF57/0/RPi2DZiiGfZsIAS6PsICbHdTQVzxQckM4lN1vnAGgkhXIMbztml21pv+QrGy98OZJ0ubf5ztgQhpT0WPH4JXT8M6htsoo8dZf8lQ5aLfmW9RKePJDqixQwPqmimPIkrlxRDTDGII0ZAZws7l779eOLmEcM2tH2HbsUKUCZIG/pRHLSlP45Jn2bULGzuXZ2daq70z6zvIbom0CUzSXIvdTXEZI2AM5RBvPYGGaKI8YlxgRdQvJp3h0BzPdFOXI3RAxscCY7PJpa/RdIg="
   87   # for uploading multiple files
   88   file_glob: true
   89   # NOTE explanation on each env variable
   90   # - PROJECT_NAME: name of the project, set on the `env.global` above
   91   # - TRAVIS_TAG: tag name that the build is being deployed for, usually the version number
   92   # - TARGET: target triple of the build
   93   file:
   94     - $PROJECT_NAME-$TRAVIS_TAG-$TARGET.*
   95     - $PROJECT_NAME*.deb
   96   # don't delete artifacts from previous stage
   97   skip_cleanup: true
   98   on:
   99     # deploy only if we push a tag
  100     tags: true
  101     # deploy only on stable channel that has TARGET env variable sets
  102     condition: $TRAVIS_RUST_VERSION = stable && $TARGET != ""
  103 
  104 notifications:
  105   email:
  106     on_success: never