forked from LanikSJ/slack-dark-mode
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
39 lines (32 loc) · 909 Bytes
/
.travis.yml
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
addons:
apt:
packages:
- binutils-dev
- libcurl4-openssl-dev
- libdw-dev
- libiberty-dev
- python3
- python3-pip
language: bash
matrix:
include:
- os: osx
osx_image: xcode10
rvm: system
fast_finish: true
env:
global:
- CODECOV_TOKEN=fb8d8ddb-9ae5-4007-9736-2b174694998d
- PATH=${PATH}:${HOME}/kcov/bin
before_install:
- wget https://github.com/SimonKagstrom/kcov/archive/master.tar.gz
- /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
- brew update && brew cask install slack
install:
- tar xzf master.tar.gz && cd kcov-master && mkdir build && cd build
- cmake -DCMAKE_INSTALL_PREFIX=${HOME}/kcov .. && make && make install
- cd ../.. && rm -rf kcov-master && mkdir -p coverage
script:
- kcov coverage slack-dark-mode.sh
after_success:
- bash <(curl -s https://codecov.io/bash)