Parcourir la source

travis dans build.sh

David Sniperovitch il y a 8 ans
Parent
commit
940304179e
2 fichiers modifiés avec 12 ajouts et 10 suppressions
  1. 1 8
      .travis.yml
  2. 11 2
      build.sh

+ 1 - 8
.travis.yml

@@ -16,13 +16,6 @@ notifications:
       - "%{commit_message}"
     use_notice: true
 install:
-  - wget https://github.com/jgm/pandoc/releases/download/1.19.2.1/pandoc-1.19.2.1-1-amd64.deb
-  - sudo dpkg -i *.deb
-  - sudo apt-get -qq update
-  - sudo apt-get install -y texlive-latex-base texlive-font-utils texlive-latex-recommended texlive-fonts-recommended texlive-latex-extra
-  - sudo apt-get install -y python-pip
-  - sudo pip install pandoc-latex-environment
-  - cpanm --notest Config::YAML Encode URI::Encode LWP::UserAgent LWP::Protocol::https Etherpad
-  - sudo ./build.sh
+  - ./build.sh
 script:
   - t/alltests

+ 11 - 2
build.sh

@@ -1,9 +1,18 @@
 #!/bin/sh
+
+# Install Pandoc from sources (Debian version is without filters)
+wget https://github.com/jgm/pandoc/releases/download/1.19.2.1/pandoc-1.19.2.1-1-amd64.deb
+sudo dpkg -i *.deb
+
+sudo apt-get -qq update
+sudo apt-get install -y texlive-latex-base texlive-font-utils texlive-latex-recommended texlive-fonts-recommended texlive-latex-extra
+sudo apt-get install -y python-pip
+sudo pip install pandoc-latex-environment
+
 cp -v cocktail.conf.smp cocktail.conf
 cd
 git clone https://github.com/hugoroy/exegetesDoc.git
 git clone https://github.com/sniperovitch/mirrorpad.git
-cp $HOME/mirrorpad/mirrorpad.yml.smp $HOME/mirrorpad/mirrorpad.yml
-#sudo $HOME/mirrorpad/build.sh
+$HOME/mirrorpad/build.sh
 cd -