Browse Source

encore un essai de test build dans travis

Sniperovitch 8 years ago
parent
commit
d05f37c9dd
2 changed files with 5 additions and 6 deletions
  1. 3 1
      .travis.yml
  2. 2 5
      build.sh

+ 3 - 1
.travis.yml

@@ -2,9 +2,11 @@ language: c
 before_install:
   - sudo apt-get -qq update
   - sudo apt-get install -y texlive-latex-base
+  - wget https://github.com/jgm/pandoc/releases/download/1.19.2.1/pandoc-1.19.2.1-1-amd64.deb
+  - sudo dpkg -i *.deb
 
 script:
-  - sudo ./build.sh
+  - ./build.sh
   - "pandoc --version"
   - "pandoc --help"
   - ./test_cocktail

+ 2 - 5
build.sh

@@ -1,8 +1,5 @@
 #!/bin/sh
-cd $HOME
-wget https://github.com/jgm/pandoc/releases/download/1.19.2.1/pandoc-1.19.2.1-1-amd64.deb
-dpkg -i *.deb
-git clone https://github.com/hugoroy/exegetesDoc.git
-cd $HOME/cocktail
+cd && git clone https://github.com/hugoroy/exegetesDoc.git
+cd -
 cp -v cocktail.conf.smp cocktail.conf