Skip to content

Commit b186216

Browse files
committed
Merge pull request #9 from isuruf/update
Update testing
2 parents 6047ec8 + f47c9d0 commit b186216

File tree

3 files changed

+18
-3
lines changed

3 files changed

+18
-3
lines changed

.travis.yml

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,38 @@
11
language: ruby
22
sudo: false
3+
os:
4+
- linux
5+
- osx
36
addons:
47
apt:
8+
sources:
9+
- ubuntu-toolchain-r-test
510
packages:
611
- libgmp-dev
712
- libmpfr-dev
813
- libmpc-dev
914
- binutils-dev
15+
- g++-4.7
1016
rvm:
1117
- 1.9.3
1218
- 2.0
1319
- 2.1
1420
- 2.2
1521

22+
matrix:
23+
exclude:
24+
- os: osx
25+
include:
26+
- os: osx
27+
rvm: 1.9.3
28+
1629
install:
1730
- export RUBY_SOURCE_DIR=`pwd`
1831
- export TEST_CPP="no"
1932

2033
- git clone https://github.com/symengine/symengine symengine-cpp
2134
- cd symengine-cpp
22-
- git checkout 8537c67507fae9b1d8d575d322c6ade4f1a59297
35+
- git checkout `cat ../symengine_version.txt`
2336

2437
# Setup travis for C++ library
2538
- source bin/install_travis.sh

appveyor.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,9 +31,10 @@ install:
3131
- 7z x -oC:\gmp gmp.7z > NUL
3232
- set PATH=C:\gmp\bin\;%PATH%
3333

34+
- set /p commit=<symengine_version.txt
3435
- git clone https://github.com/symengine/symengine symengine-cpp
35-
- cd symengine-cpp
36-
- git checkout 8537c67507fae9b1d8d575d322c6ade4f1a59297
36+
- cd symengine-cpp
37+
- git checkout %commit%
3738
- cmake -G "MSYS Makefiles" -DGMP_DIR=C:\gmp -DBUILD_TESTS=no -DBUILD_BENCHMARKS=no .
3839
- make
3940
- make install

symengine_version.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
3f0c0947ae09bac9545334a6903d9d72c7043a52

0 commit comments

Comments
 (0)