Permalink
Browse files

Travis build.

  • Loading branch information...
sfermigier committed Jan 11, 2015
1 parent 04ed291 commit 0446796231df0d56f0b92f950e8da982274c74a2
Showing with 8 additions and 4 deletions.
  1. +1 −1 .travis.yml
  2. +3 −2 Vagrantfile
  3. +4 −1 src/cm/tests/test_converters.py
View
@@ -9,7 +9,7 @@ addons:
before_install:
- sudo rm -rf /dev/shm && sudo ln -s /run/shm /dev/shm
- sudo apt-get update -qq
- - sudo apt-get install -y python-dev g++ libtidy-dev pandoc python-magic libpq-dev
+ - sudo apt-get install -y git-core python-dev g++ libtidy-dev pandoc python-magic libpq-dev
# Install Python dependencies
install:
View
@@ -2,7 +2,8 @@
# vi: set ft=ruby :
Vagrant.configure("2") do |config|
- config.vm.box = "box-cutter/debian77"
+ #config.vm.box = "box-cutter/debian77"
+ config.vm.box = "hashicorp/precise64"
config.vm.provider :virtualbox do |vb|
vb.memory = 1024
@@ -11,5 +12,5 @@ Vagrant.configure("2") do |config|
config.vm.network "forwarded_port", guest: 8000, host: 8000
- config.vm.provision :shell, :path => "deploy/provision-vagrant.sh"
+ #config.vm.provision :shell, :path => "deploy/provision-vagrant.sh"
end
@@ -10,7 +10,10 @@ def test_rst(self):
rst = unicode(file('src/cm/tests/data/text.rst').read())
# convert in all formats
- for to_format in OUTPUT_FORMATS:
+ for to_format in OUTPUT_FORMATS:
+ if to_format == 'pdf':
+ # Skip this because it involves a whole LaTeX install
+ continue
res = pandoc_convert(rst,'rst',to_format)

0 comments on commit 0446796

Please sign in to comment.