From 7296bd13827be92d66cd4761bea0fd6cbb5265ad Mon Sep 17 00:00:00 2001 From: Thomas Krijnen Date: Wed, 15 May 2019 17:38:46 +0200 Subject: [PATCH] Try to fix python encoding test error --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 54dee780e1..9dd90caf2d 100644 --- a/.travis.yml +++ b/.travis.yml @@ -50,7 +50,7 @@ script: - /usr/local/bin/IfcConvert -yv acad2010_walls.ifc acad2010_walls.glb - gltf_validator acad2010_walls.glb - - python -c "from __future__ import print_function; import ifcopenshell; f = ifcopenshell.open('encoding.ifc'); print(f[1][0])" | grep "'a' 1m³ ≤ 5m³ ≥ 10m³" + - python -c "from __future__ import print_function; from io import open; import ifcopenshell; f = ifcopenshell.open('encoding.ifc'); print(f[1][0], file=open('encoding.txt', 'w', encoding='utf-8'))" && grep encoding.txt "'a' 1m³ ≤ 5m³ ≥ 10m³" - | (for i in *.ifc; do \