Skip to content

Commit

Permalink
attempting to follow conan docs
Browse files Browse the repository at this point in the history
  • Loading branch information
zlmink committed Nov 23, 2020
1 parent 759e613 commit 6ae6684
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
language: cpp
language: python
python: "3.8"
dist: "trusty"
sudo: required
os: linux
Expand All @@ -14,20 +15,17 @@ before_install:
- wget https://cmake.org/files/v3.15/cmake-3.15.0-Linux-x86_64.sh
- chmod +x cmake-3.15.0-Linux-x86_64.sh
- ./cmake-3.15.0-Linux-x86_64.sh --prefix=$HOME/usr --exclude-subdir --skip-license
- sudo apt-get update
- sudo apt-get install python3.8 python3.8-pip python3.8-setuptools
- sudo pip3 install --upgrade pip

install:
- pip3 install conan
- conan user
- pip install conan

# (fake) install dependencies (usually involves wget, configure, make, ...)
# install into cache folder (build binaries+headers only, no sources and do NOT build there)
# - mkdir -p $HOME/.cache
# - touch $HOME/.cache/mydependency.so

script:
- conan install .
- conan create . user/channel
- chmod +x build.sh
- ./build.sh

0 comments on commit 6ae6684

Please sign in to comment.