Skip to content

Commit 8e50185

Browse files
committed
install occ after update
1 parent be5b4cf commit 8e50185

File tree

1 file changed

+16
-11
lines changed

1 file changed

+16
-11
lines changed

.travis.yml

Lines changed: 16 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
language: cpp
22
# 18.04
3-
dist: bionic
3+
dist:
4+
- bionic
5+
# - focal
6+
47
os:
58
- linux
69
- osx
@@ -43,23 +46,25 @@ matrix:
4346
- os: osx
4447
addons:
4548
apt:
46-
# sources:
47-
# - ubuntu-toolchain-r-test
49+
sources:
50+
sourceline: - ubuntu-toolchain-r-test
4851
packages:
49-
- g++
50-
- libtbb2
51-
- libtbb-dev
52-
- libocct-modeling-algorithms-dev
52+
- g++
53+
- libtbb2
54+
- libtbb-dev
5355
update: true
5456
homebrew:
5557
packages:
56-
- tbb
57-
- freetype
58-
- opencascade
58+
- tbb
59+
- freetype
60+
- opencascade
5961
update: true
6062

6163
before_install:
62-
#
64+
-
65+
if [[ $TRAVIS_OS_NAME == "linux" ]]; then
66+
sudo apt-get install -y --no-install-recommends libocct-data-exchange-dev
67+
fi
6368

6469
# reinstall latest nvm
6570
- rm -rf ~/.nvm && git clone https://github.com/creationix/nvm.git ~/.nvm && (cd ~/.nvm && git checkout `git describe --abbrev=0 --tags`) && source ~/.nvm/nvm.sh

0 commit comments

Comments
 (0)