Comments (4)
Its a PYTHONPATH issue but I don't really know why.
Try to:
export PYTHONPATH=$PYTHONPATH:$(pwd)
and then nosetests
from conan.
You should also export CONAN_COMPILER=gcc and CONAN_COMPILER_VERSION=4.8 for testing purposes. Check your gcc version (or maybe clang) and export the right one. I'm working in travis/appveyor integration and trying all this things. If you could update (or write a section in README) the testing instructions with your experience should be great! thanks
from conan.
Thank you, now it works:
#!/usr/bin/env sh
export PYTHONPATH=$PYTHONPATH:$(pwd)
export CONAN_COMPILER=gcc
export CONAN_COMPILER_VERSION=4.8
git checkout 1cc3490f67c445a64c5a327df39b261b2b9df558
sudo apt-get install python-dev
sudo pip install -r requirements.txt
sudo pip install -r requirements_server.txt
sudo pip install -r requirements_dev.txt
nosetests .
[...]
..................................................................................................................................................
----------------------------------------------------------------------
Ran 146 tests in 50.993s
OK
I will try and update README.
from conan.
:) thx
from conan.
Related Issues (20)
- Add a test using AutotoolsToolchain + PkgConfigDeps + build_context_activated
- [feature] Ability to run `conan profile detect` w/o error and w/o overwriting when the profile already exists HOT 2
- [bug] Conan 2.2.0: ModuleNotFoundError: No module named 'distutils' HOT 2
- [question] Dealing with PATH-like env vars defined in profiles when using Windows subsystem (INCLUDE, msys2) HOT 4
- [question] Conan 2 best practices for large scale software development HOT 2
- [question] Cross compiling does't work with custom CXX compiler HOT 2
- [question] Does conan download not have an option to download inside a given folder?? HOT 2
- [bug] Failing to build on Conan 1.x HOT 3
- [question] How to use google osv-scanner with conan package? HOT 4
- [bug] `tools.build:defines` is broken in multiconfig setting HOT 6
- Downloading libs from dependent packages HOT 3
- [question] Locating scripts in a "build-scripts" package via CMake HOT 4
- [bug] Properly escape CMake generator expressions
- [question] preexistend toolchain file HOT 1
- [bug] Escape semicolon in CMake defines HOT 1
- [bug] builddirs broken in editable mode
- [feature] Add support for Pop!_OS to package_manager HOT 2
- [bug] PR-15704 (print to stderr) breaks existing recipes HOT 3
- Facing difficulty installing boost library migrating to Conan2.0 HOT 4
- test_basic_parallel_install sometimes fail: `sqlite3.OperationalError: database is locked` HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from conan.