travis: minor opimizations (#11327)
* travis: use homebrew addon * travis: parallelize csources building
This commit is contained in:
parent
7e9cda7dba
commit
6a94599d66
1 changed files with 6 additions and 6 deletions
12
.travis.yml
12
.travis.yml
|
|
@ -28,11 +28,11 @@ addons:
|
||||||
- libsdl1.2-dev
|
- libsdl1.2-dev
|
||||||
- libgc-dev
|
- libgc-dev
|
||||||
- libsfml-dev
|
- libsfml-dev
|
||||||
|
homebrew:
|
||||||
before_install:
|
packages:
|
||||||
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew update; fi
|
- boehmgc
|
||||||
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew install boehmgc; fi
|
- make
|
||||||
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew install sfml; fi
|
- sfml
|
||||||
|
|
||||||
before_script:
|
before_script:
|
||||||
- set -e
|
- set -e
|
||||||
|
|
@ -40,7 +40,7 @@ before_script:
|
||||||
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then shell_session_update() { :; }; fi
|
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then shell_session_update() { :; }; fi
|
||||||
- git clone --depth 1 https://github.com/nim-lang/csources.git
|
- git clone --depth 1 https://github.com/nim-lang/csources.git
|
||||||
- cd csources
|
- cd csources
|
||||||
- sh build.sh
|
- make -j 2 LD=$CC
|
||||||
- cd ..
|
- cd ..
|
||||||
- export PATH=$(pwd)/bin${PATH:+:$PATH}
|
- export PATH=$(pwd)/bin${PATH:+:$PATH}
|
||||||
- echo PATH:${PATH}
|
- echo PATH:${PATH}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue