This commit is contained in:
Michael Zhang 2018-09-09 21:31:46 -05:00
parent a914f940ae
commit e7e8cae4f1
No known key found for this signature in database
GPG key ID: A1B65B603268116B
3 changed files with 4 additions and 7 deletions

View file

@ -12,12 +12,6 @@ matrix:
services:
- docker
before_script:
- git clone https://github.com/naelstrof/slop.git
- cd slop
- cmake -DCMAKE_INSTALL_PREFIX="/usr" ./
- make && sudo make install
script:
- if [ -z "$TRAVIS_TAG" ]; then cargo test --all; fi

View file

@ -1,6 +1,6 @@
[package]
name = "screenshot"
version = "0.2.0"
version = "0.2.1"
authors = ["Michael Zhang <failed.down@gmail.com>"]
build = "src/build.rs"

View file

@ -8,6 +8,9 @@ RUN sudo apt-get update -y && sudo apt-get install -y \
libglm-dev \
libgtk-3-dev
RUN git clone https://github.com/naelstrof/slop.git
RUN (cd slop; cmake -DCMAKE_INSTALL_PREFIX="/usr" ./ && make && sudo make install)
COPY . ./
RUN sudo chown -R rust:rust .