We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 846512c commit bc95ba7Copy full SHA for bc95ba7
.travis.yml
@@ -37,8 +37,6 @@ before_install:
37
38
install: true
39
40
-script:
41
- - if [[ $RID == "osx" ]] || [[ $RID == "linux-x64" ]]; then ./build.libgit2.sh ; fi
42
- - if [[ $RID != "osx" ]] && [[ $RID != "linux-x64" ]]; then ./dockerbuild.sh ; fi
+script: if [[ $RID == "osx" ]]; then ./build.libgit2.sh ; else ./dockerbuild.sh ; fi
43
44
after_success: ./uploadbinaries.sh
Dockerfile.linux-x64
@@ -0,0 +1,7 @@
1
+FROM ubuntu:14.04
2
+WORKDIR /nativebinaries
3
+COPY . /nativebinaries/
4
+
5
+RUN apt update && apt -y install cmake libcurl4-openssl-dev libssl-dev pkg-config
6
7
+CMD ["/bin/bash", "-c", "./build.libgit2.sh"]
0 commit comments