diff --git a/.travis.yml b/.travis.yml index caf9d7d..e3a68d0 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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 diff --git a/Cargo.toml b/Cargo.toml index 1f3344d..d3cdefa 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "screenshot" -version = "0.2.0" +version = "0.2.1" authors = ["Michael Zhang "] build = "src/build.rs" diff --git a/Dockerfile b/Dockerfile index 887d4e1..1cbff10 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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 .