THRIFT-2571 doc and speed up travis build
diff --git a/.travis.yml b/.travis.yml
index d54acc4..4ab649a 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -68,10 +68,9 @@
script:
# TODO: fix these languages
- sh configure --without-erlang --without-haskell --without-python --without-go --without-lua
- - make -j2 && make dist
- - make cross -j2
- - sh bootstrap.sh ; sh contrib/mingw-cross-compile.sh
- - mkdir build_native && cd build_native && cmake ../compiler/cpp/ && make; cd ..
- - mkdir build_mingw32 && cd build_mingw32 && cmake -DCMAKE_TOOLCHAIN_FILE=../contrib/mingw32-toolchain.cmake ../compiler/cpp/ && make; cd ..
+ - make -j4 && make dist
+ - make cross -j4
+ - mkdir build_native && cd build_native && cmake ../compiler/cpp/ && make -j4; cd ..
+ - mkdir build_mingw32 && cd build_mingw32 && cmake -DCMAKE_TOOLCHAIN_FILE=../contrib/mingw32-toolchain.cmake ../compiler/cpp/ && make -j4; cd ..
# TODO: add these steps
# - sh bootstrap.sh ; dpkg-buildpackage -tc