Skip to content

Commit 3e62361

Browse files
committed
fix travis
1 parent 8e50185 commit 3e62361

File tree

1 file changed

+11
-4
lines changed

1 file changed

+11
-4
lines changed

.travis.yml

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
language: cpp
22
# 18.04
3-
dist:
4-
- bionic
3+
dist: bionic
54
# - focal
65

76
os:
@@ -44,10 +43,13 @@ matrix:
4443
# env: TRAVIS_NODE_VERSION="7" ARCH="x86"
4544
allow_failures:
4645
- os: osx
46+
4747
addons:
4848
apt:
4949
sources:
50-
sourceline: - ubuntu-toolchain-r-test
50+
- sourceline: 'ppa:ubuntu-toolchain-r/test'
51+
- sourceline: 'deb http://apt.llvm.org/bionic/ llvm-toolchain-bionic-10 main'
52+
key_url: 'https://apt.llvm.org/llvm-snapshot.gpg.key'
5153
packages:
5254
- g++
5355
- libtbb2
@@ -61,8 +63,13 @@ addons:
6163
update: true
6264

6365
before_install:
64-
-
66+
- >
6567
if [[ $TRAVIS_OS_NAME == "linux" ]]; then
68+
cat /etc/apt/sources.list
69+
sudo add-apt-repository universe
70+
sudo add-apt-repository multiverse
71+
sudo apt-add-repository -y ppa:freecad-maintainers/freecad-daily
72+
sudo apt-get update -qq
6673
sudo apt-get install -y --no-install-recommends libocct-data-exchange-dev
6774
fi
6875

0 commit comments

Comments
 (0)