summaryrefslogtreecommitdiff
path: root/.travis.yml
blob: 5f95544fb151a49706479cf6a784e8f02ac6d265 (plain)
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
38
39
40
41
42
language: rust

addons:
  apt:
    packages:
    - libxcb-xfixes0-dev

git:
  depth: 1

os:
  - linux

rust:
  - stable

matrix:
  fast_finish: true
  include:
    - name: "Clippy Linux"
      os: linux
      env: CLIPPY=true
      rust: 1.43.1

install: ci/install.sh
script: ci/script.sh
before_deploy: ci/before_deploy.sh

deploy:
  - provider: releases
    api_key:
      secure: borked
    skip_cleanup: true
    file_glob: true
    file: "./target/deploy/*"
    on:
      tags: true
      rust: stable
      condition:
        - $CLIPPY != true
        - "$TRAVIS_TAG" =~ ^v[0-9]*\.[0-9]*\.[0-9]*$
      repo: chrisduerr/alacritty