-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.travis.yml
More file actions
18 lines (18 loc) · 741 Bytes
/
.travis.yml
File metadata and controls
18 lines (18 loc) · 741 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
language: cpp
compiler: clang
before_script:
- sudo apt update
- sudo apt install libboost-test-dev -y
- echo "deb http://archive.ubuntu.com/ubuntu xenial main universe" | sudo tee -a /etc/apt/sources.list.d/xenial.list
- sudo apt update
- sudo apt install libspdlog-dev -y
script:
- cmake .
- cmake --build .
- cmake --build . --target test
- cmake --build . --target package
deploy:
provider: script
skip_cleanup: true
script:
- curl -T ip_filter-0.0.$TRAVIS_BUILD_NUMBER-Linux.deb -uivanleb:$BINTRAY_API_KEY "https://api.bintray.com/content/ivanleb/otus-cpp/homework/$TRAVIS_BUILD_NUMBER/ip_filter-0.0.$TRAVIS_BUILD_NUMBER-Linux.deb;deb_distribution=trusty;deb_component=main;deb_architecture=amd64;publish=1"